code7-leia 0.1.136 → 0.1.137
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/code7-leia.cjs.development.js +7 -10
- package/dist/code7-leia.cjs.development.js.map +1 -1
- package/dist/code7-leia.cjs.production.min.js +1 -1
- package/dist/code7-leia.cjs.production.min.js.map +1 -1
- package/dist/code7-leia.esm.js +7 -10
- package/dist/code7-leia.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FileArea/index.tsx +5 -7
|
@@ -1409,16 +1409,13 @@ var FileArea = function FileArea() {
|
|
|
1409
1409
|
dispatch(getFilesAction(id));
|
|
1410
1410
|
}, [id]);
|
|
1411
1411
|
React.useEffect(function () {
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
console.log('options: ', options);
|
|
1420
|
-
console.log('optionsPresset: ', optionsPresset);
|
|
1421
|
-
if (options !== optionsPresset) {
|
|
1412
|
+
if (tags.length > 0) {
|
|
1413
|
+
var options = tags.map(function (tag) {
|
|
1414
|
+
return {
|
|
1415
|
+
label: tag,
|
|
1416
|
+
value: tag
|
|
1417
|
+
};
|
|
1418
|
+
});
|
|
1422
1419
|
setOptionsPresset(options);
|
|
1423
1420
|
}
|
|
1424
1421
|
}, [tags]);
|