From 5585a9bed0a00e9bf22bbaca9bab3994c5030c73 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Wed, 22 Mar 2023 13:15:53 +0100 Subject: [PATCH] Sticky batch actions bar (#3366) --- .../ArchiveTable/ArchiveBatchActions.tsx | 4 +- .../archive/ArchiveTable/ArchiveTable.tsx | 109 +++--- .../BatchSelectionActionsBar.tsx | 35 +- .../common/InstanceStatus/InstanceStatus.tsx | 10 +- .../layout/MainLayout/MainLayout.tsx | 7 +- .../ProjectFeatureToggles.tsx | 333 +++++++++--------- frontend/src/themes/app.css | 10 +- 7 files changed, 268 insertions(+), 240 deletions(-) diff --git a/frontend/src/component/archive/ArchiveTable/ArchiveBatchActions.tsx b/frontend/src/component/archive/ArchiveTable/ArchiveBatchActions.tsx index 65983dbf3b..1c31abf1e6 100644 --- a/frontend/src/component/archive/ArchiveTable/ArchiveBatchActions.tsx +++ b/frontend/src/component/archive/ArchiveTable/ArchiveBatchActions.tsx @@ -1,6 +1,6 @@ import { FC, useState } from 'react'; import { Button } from '@mui/material'; -import { Undo } from '@mui/icons-material'; +import { Delete, Undo } from '@mui/icons-material'; import { DELETE_FEATURE, UPDATE_FEATURE, @@ -69,7 +69,7 @@ export const ArchiveBatchActions: FC = ({ {({ hasAccess }) => (