Skip to content

Commit

Permalink
Removed hardcoded background in access keys table (#2837)
Browse files Browse the repository at this point in the history
## What does this do?

Removed non required classes from access keys table

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
  • Loading branch information
bexsoft committed May 29, 2023
1 parent 9053e64 commit c0cf735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 2 additions & 5 deletions portal-ui/src/screens/Console/Account/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ import { useSelector } from "react-redux";
import { useNavigate } from "react-router-dom";
import api from "../../../common/api";
import { stringSort } from "../../../utils/sortFunctions";
import {
actionsTray,
tableStyles,
} from "../Common/FormComponents/common/styleLibrary";
import { actionsTray } from "../Common/FormComponents/common/styleLibrary";

import { ErrorResponseHandler } from "../../../common/types";
import ChangePasswordModal from "./ChangePasswordModal";
Expand Down Expand Up @@ -251,7 +248,7 @@ const Account = () => {
</Box>
</Grid>

<Grid item xs={12} sx={{ ...tableStyles.tableBlock }}>
<Grid item xs={12}>
<DataTable
isLoading={loading}
records={filteredRecords}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
containerForHeader,
objectBrowserCommon,
searchField,
tableStyles,
} from "../../Common/FormComponents/common/styleLibrary";
import { IAM_SCOPES } from "../../../../common/SecureComponent/permissions";
import PanelTitle from "../../Common/PanelTitle/PanelTitle";
Expand Down Expand Up @@ -65,7 +64,6 @@ const useStyles = makeStyles((theme: Theme) =>
backgroundImage: "url(/images/ob_folder_filled.svg)",
},
},
...tableStyles,
...actionsTray,
...searchField,
...objectBrowserCommon,
Expand Down

0 comments on commit c0cf735

Please sign in to comment.