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.
@@ -1409,16 +1409,13 @@ var FileArea = function FileArea() {
1409
1409
  dispatch(getFilesAction(id));
1410
1410
  }, [id]);
1411
1411
  React.useEffect(function () {
1412
- console.log('tags: ', tags);
1413
- var options = tags.map(function (tag) {
1414
- return {
1415
- label: tag,
1416
- value: tag
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]);