Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
Disable hover on group and user show pages Datagrids
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale Roberts committed Dec 19, 2023
1 parent e718be6 commit 216ec6d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
17 changes: 13 additions & 4 deletions src/components/grouppage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ export const GroupPage = () => {
sort={{ field: "usage", order: "DESC" }}
perPage={9999}
>
<Datagrid bulkActionButtons={<PostBulkActionButtons />}>
<Datagrid
bulkActionButtons={<PostBulkActionButtons />}
hover={false}
>
<FunctionField
label="User"
render={(record) => LinkToUserWithPrefix(record.user)}
Expand Down Expand Up @@ -213,7 +216,10 @@ export const GroupPage = () => {
filter={{ fs: "scratch" }}
perPage={9999}
>
<Datagrid bulkActionButtons={<PostBulkActionButtons />}>
<Datagrid
bulkActionButtons={<PostBulkActionButtons />}
hover={false}
>
<FunctionField
label="User"
render={(record) => LinkToUserWithPrefix(record.user)}
Expand Down Expand Up @@ -283,7 +289,10 @@ export const GroupPage = () => {
filter={{ fs: "gdata" }}
perPage={9999}
>
<Datagrid bulkActionButtons={<PostBulkActionButtons />}>
<Datagrid
bulkActionButtons={<PostBulkActionButtons />}
hover={false}
>
<FunctionField
label="User"
render={(record) => LinkToUserWithPrefix(record.user)}
Expand Down Expand Up @@ -348,7 +357,7 @@ export const GroupPage = () => {
filter={{ fs: "massdata" }}
perPage={9999}
>
<Datagrid bulkActionButtons={false}>
<Datagrid bulkActionButtons={false} hover={false}>
<TextField label="" sortBy="user" source="user" />
<TextField
label="Project"
Expand Down
15 changes: 12 additions & 3 deletions src/components/userpage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,10 @@ export const UserPage = () => {
reference="compute_latest"
sort={{ field: "usage", order: "DESC" }}
>
<Datagrid bulkActionButtons={<PostBulkActionButtons />}>
<Datagrid
bulkActionButtons={<PostBulkActionButtons />}
hover={false}
>
<FunctionField
label="Project"
render={(record) => LinkToGroupWithPrefix(record.project)}
Expand Down Expand Up @@ -224,7 +227,10 @@ export const UserPage = () => {
sort={{ field: "size", order: "DESC" }}
filter={{ fs: "scratch" }}
>
<Datagrid bulkActionButtons={<PostBulkActionButtons />}>
<Datagrid
bulkActionButtons={<PostBulkActionButtons />}
hover={false}
>
<FunctionField
label="Directory"
render={(record) =>
Expand Down Expand Up @@ -286,7 +292,10 @@ export const UserPage = () => {
sort={{ field: "size", order: "DESC" }}
filter={{ fs: "gdata" }}
>
<Datagrid bulkActionButtons={<PostBulkActionButtons />}>
<Datagrid
bulkActionButtons={<PostBulkActionButtons />}
hover={false}
>
<FunctionField
label="Directory"
render={(record) =>
Expand Down

0 comments on commit 216ec6d

Please sign in to comment.