Swap let for const
This commit is contained in:
parent
357f495c0d
commit
8d2530d4c8
|
@ -109,7 +109,7 @@
|
||||||
|
|
||||||
// Delete numeric only widths as these are grid widths and should be
|
// Delete numeric only widths as these are grid widths and should be
|
||||||
// ignored
|
// ignored
|
||||||
let width = fixedSchema[fieldName].width
|
const width = fixedSchema[fieldName].width
|
||||||
if (width != null && `${width}`.trim().match(/^[0-9]+$/)) {
|
if (width != null && `${width}`.trim().match(/^[0-9]+$/)) {
|
||||||
delete fixedSchema[fieldName].width
|
delete fixedSchema[fieldName].width
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue