@bento-core/paginated-table 1.0.1-ccdiintegrated.1 → 1.0.1-ccdiintegrated.3

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.
@@ -122,8 +122,8 @@ const AddAllFilesComponent = props => {
122
122
  const ids = [...new Set(idsInitial)];
123
123
  if (cartCount + ids.length <= upperLimit) {
124
124
  setIsDataloading(false);
125
- setOpen(true);
126
- setAddFilesId(ids);
125
+ addFiles(ids);
126
+ setOpenSnackbar(true);
127
127
  } else {
128
128
  const newIds = checkDuplicate(cartFilesDict, ids);
129
129
  setIsDataloading(false);
@@ -24,8 +24,8 @@ const SnackbarView = props => {
24
24
  open: open,
25
25
  autoHideDuration: 3000,
26
26
  anchorOrigin: {
27
- vertical: 'bottom',
28
- horizontal: 'right'
27
+ vertical: 'top',
28
+ horizontal: 'center'
29
29
  },
30
30
  message: /*#__PURE__*/_react.default.createElement("div", {
31
31
  className: "snackBarMessage"
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/paginated-table",
3
- "version": "1.0.1-ccdiintegrated.1",
4
- "description": "",
3
+ "version": "1.0.1-ccdiintegrated.3",
5
4
  "homepage": "https://github.com/CBIIT/bento-frontend#readme",
6
5
  "bugs": {
7
6
  "url": "https://github.com/CBIIT/bento-frontend/issues"
@@ -21,7 +20,7 @@
21
20
  },
22
21
  "dependencies": {
23
22
  "@bento-core/cart": "1.0.1-ccdiintegrated.1",
24
- "@bento-core/table": "1.0.1-ccdiintegrated.1",
23
+ "@bento-core/table": "1.0.1-ccdiintegrated.3",
25
24
  "@bento-core/tool-tip": "1.0.1-ccdiintegrated.1",
26
25
  "@bento-core/util": "1.0.1-ccdiintegrated.1"
27
26
  },
@@ -36,5 +35,6 @@
36
35
  },
37
36
  "publishConfig": {
38
37
  "access": "public"
39
- }
38
+ },
39
+ "description": ""
40
40
  }
@@ -116,8 +116,8 @@ const AddAllFilesComponent = (props) => {
116
116
  const ids = [...new Set(idsInitial)];
117
117
  if (cartCount + ids.length <= upperLimit) {
118
118
  setIsDataloading(false);
119
- setOpen(true);
120
- setAddFilesId(ids);
119
+ addFiles(ids);
120
+ setOpenSnackbar(true);
121
121
  } else {
122
122
  const newIds = checkDuplicate(cartFilesDict, ids);
123
123
  setIsDataloading(false);
@@ -21,7 +21,7 @@ const SnackbarView = (props) => {
21
21
  className="snackBar"
22
22
  open={open}
23
23
  autoHideDuration={3000}
24
- anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}
24
+ anchorOrigin={{ vertical: 'top', horizontal: 'center' }}
25
25
  message={(
26
26
  <div className="snackBarMessage">
27
27
  <span className="snackBarMessageIcon">