Skip to content

Commit c0cf735

Browse files
authored
Removed hardcoded background in access keys table (#2837)
## What does this do? Removed non required classes from access keys table Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
1 parent 9053e64 commit c0cf735

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

portal-ui/src/screens/Console/Account/Account.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ import { useSelector } from "react-redux";
3131
import { useNavigate } from "react-router-dom";
3232
import api from "../../../common/api";
3333
import { stringSort } from "../../../utils/sortFunctions";
34-
import {
35-
actionsTray,
36-
tableStyles,
37-
} from "../Common/FormComponents/common/styleLibrary";
34+
import { actionsTray } from "../Common/FormComponents/common/styleLibrary";
3835

3936
import { ErrorResponseHandler } from "../../../common/types";
4037
import ChangePasswordModal from "./ChangePasswordModal";
@@ -251,7 +248,7 @@ const Account = () => {
251248
</Box>
252249
</Grid>
253250

254-
<Grid item xs={12} sx={{ ...tableStyles.tableBlock }}>
251+
<Grid item xs={12}>
255252
<DataTable
256253
isLoading={loading}
257254
records={filteredRecords}

portal-ui/src/screens/Console/Buckets/BucketDetails/AccessRulePanel.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import {
2929
containerForHeader,
3030
objectBrowserCommon,
3131
searchField,
32-
tableStyles,
3332
} from "../../Common/FormComponents/common/styleLibrary";
3433
import { IAM_SCOPES } from "../../../../common/SecureComponent/permissions";
3534
import PanelTitle from "../../Common/PanelTitle/PanelTitle";
@@ -65,7 +64,6 @@ const useStyles = makeStyles((theme: Theme) =>
6564
backgroundImage: "url(/images/ob_folder_filled.svg)",
6665
},
6766
},
68-
...tableStyles,
6967
...actionsTray,
7068
...searchField,
7169
...objectBrowserCommon,

0 commit comments

Comments
 (0)