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

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,19 +96,20 @@ const AddAllFilesComponent = props => {
96
96
  }
97
97
  return acc;
98
98
  }, []);
99
+ console.log('!!!!!openAddDialog:', openAddDialog);
99
100
  if (cartCount + fileCount <= 6000) {
100
101
  setOpen(true);
101
102
  setAddFilesId(ids);
102
103
  } else {
103
104
  const duplicate = checkDuplicate(cartFiles, ids);
104
105
  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);
112
113
  return [];
113
114
  });
114
115
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/paginated-table",
3
- "version": "1.0.1-ccdihub.55",
3
+ "version": "1.0.1-ccdihub.57",
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,19 +90,20 @@ const AddAllFilesComponent = (props) => {
90
90
  }
91
91
  return acc;
92
92
  }, []);
93
+ console.log('!!!!!openAddDialog:', openAddDialog);
93
94
  if (cartCount + fileCount <= 6000) {
94
95
  setOpen(true);
95
96
  setAddFilesId(ids);
96
97
  } else {
97
98
  const duplicate = checkDuplicate(cartFiles, ids);
98
99
  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);
106
107
  return [];
107
108
  });
108
109
  } else {