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