inibase 1.1.16 → 1.1.17
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -902,7 +902,7 @@ export default class Inibase {
|
|
|
902
902
|
const foundedItem = isArrayField
|
|
903
903
|
? Utils.isArrayOfArrays(lineContent)
|
|
904
904
|
? lineContent.map((item) => items.filter(({ id }) => item.includes(id)))
|
|
905
|
-
: lineContent.flatMap((item) => items.
|
|
905
|
+
: lineContent.flatMap((item) => items.find(({ id }) => item === id))
|
|
906
906
|
: items.find(({ id }) => id === lineContent);
|
|
907
907
|
if (foundedItem)
|
|
908
908
|
RETURN[lineNumber][field.key] = foundedItem;
|