@bento-core/paginated-table 1.0.1-ccdihub.57 → 1.0.1-ccdihub.59

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.
@@ -96,20 +96,19 @@ const AddAllFilesComponent = props => {
96
96
  }
97
97
  return acc;
98
98
  }, []);
99
- console.log('!!!!!openAddDialog:', openAddDialog);
100
99
  if (cartCount + fileCount <= 6000) {
101
100
  setOpen(true);
102
101
  setAddFilesId(ids);
103
102
  } else {
104
103
  const duplicate = checkDuplicate(cartFiles, ids);
105
104
  if (cartCount + fileCount - duplicate <= 6000) {
105
+ setOpen(true);
106
106
  setAddFilesId(ids);
107
107
  } else {
108
108
  setAlterDisplay(true);
109
109
  }
110
110
  }
111
111
  }
112
- // setOpen(true);
113
112
  return [];
114
113
  });
115
114
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/paginated-table",
3
- "version": "1.0.1-ccdihub.57",
3
+ "version": "1.0.1-ccdihub.59",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
@@ -90,20 +90,19 @@ const AddAllFilesComponent = (props) => {
90
90
  }
91
91
  return acc;
92
92
  }, []);
93
- console.log('!!!!!openAddDialog:', openAddDialog);
94
93
  if (cartCount + fileCount <= 6000) {
95
94
  setOpen(true);
96
95
  setAddFilesId(ids);
97
96
  } else {
98
97
  const duplicate = checkDuplicate(cartFiles, ids);
99
98
  if (cartCount + fileCount - duplicate <= 6000) {
99
+ setOpen(true);
100
100
  setAddFilesId(ids);
101
101
  } else {
102
102
  setAlterDisplay(true);
103
103
  }
104
104
  }
105
105
  }
106
- // setOpen(true);
107
106
  return [];
108
107
  });
109
108
  } else {