Skip to content

Commit d4eae3d

Browse files
author
Adam Stafford
committed
bug fix
1 parent c02807f commit d4eae3d

File tree

1 file changed

+3
-2
lines changed
  • portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects

1 file changed

+3
-2
lines changed

portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ import {
7676
import { BucketVersioning } from "../../../types";
7777
import RewindEnable from "./RewindEnable";
7878
import FileCopyIcon from "@material-ui/icons/FileCopy";
79-
import DeleteIcon from "../../../../Common/TableWrapper/TableActionIcons/DeleteIcon";
79+
import DeleteIcon from "@material-ui/icons/Delete";
8080
import DeleteMultipleObjects from "./DeleteMultipleObjects";
8181

8282
const commonIcon = {
@@ -461,6 +461,7 @@ const ListObjects = ({
461461

462462
if (refresh) {
463463
setSnackBarMessage(`Objects deleted successfully.`);
464+
setSelectedObjects([]);
464465
setLoading(true);
465466
}
466467
};
@@ -881,7 +882,7 @@ const ListObjects = ({
881882
<Button
882883
variant="contained"
883884
color="primary"
884-
startIcon={<DeleteIcon active={true} />}
885+
startIcon={<DeleteIcon />}
885886
onClick={() => {
886887
setDeleteMultipleOpen(true);
887888
}}

0 commit comments

Comments
 (0)