@dartech/arsenal-ui 1.4.18 → 1.4.19
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1499,7 +1499,7 @@ const formatTableRowValue = ({
|
|
1499
1499
|
const digitsOnly = new RegExp('^[-+]?[0-9]+$');
|
1500
1500
|
const floatsOnly = new RegExp(/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/);
|
1501
1501
|
const isExpression = (value, useRecursion) => {
|
1502
|
-
if (typeof value === 'string') return /\$(?:S?JS)
|
1502
|
+
if (typeof value === 'string') return /\$(?:S?JS)?(?:\{|\()/g.test(value);
|
1503
1503
|
if (useRecursion) {
|
1504
1504
|
if (Array.isArray(value)) {
|
1505
1505
|
for (const item of value) {
|