@dataloop-ai/components 0.19.193 → 0.19.195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -302,9 +302,12 @@ export function setValueAliases(json: Data, schema: Data) {
|
|
|
302
302
|
|
|
303
303
|
if (isArrayOperator) {
|
|
304
304
|
for (let i = 0; i < opVal.length; ++i) {
|
|
305
|
-
const value =
|
|
306
|
-
|
|
307
|
-
|
|
305
|
+
const value = opVal[i]
|
|
306
|
+
for (const alias in aliases) {
|
|
307
|
+
if (value === aliases[alias]) {
|
|
308
|
+
val[Object.keys(val)[0]][i] = alias
|
|
309
|
+
break
|
|
310
|
+
}
|
|
308
311
|
}
|
|
309
312
|
}
|
|
310
313
|
} else {
|