diff --git a/apps/client/src/features/base/components/base-view-draft-banner.tsx b/apps/client/src/features/base/components/base-view-draft-banner.tsx index c3fdf10c..f0c1eb45 100644 --- a/apps/client/src/features/base/components/base-view-draft-banner.tsx +++ b/apps/client/src/features/base/components/base-view-draft-banner.tsx @@ -1,5 +1,4 @@ -import { Paper, Group, Text, Button } from "@mantine/core"; -import { IconInfoCircle } from "@tabler/icons-react"; +import { Group, Button, Tooltip } from "@mantine/core"; import { useTranslation } from "react-i18next"; type BaseViewDraftBannerProps = { @@ -20,25 +19,27 @@ export function BaseViewDraftBanner({ const { t } = useTranslation(); if (!isDirty) return null; return ( - - - - - - {t("Filter and sort changes are visible only to you.")} - - - - + {canSave && ( + + - {canSave && ( - - )} - - - + + )} + ); }