diff --git a/frontend/src/views/SecretMainPage/SecretMainPage.tsx b/frontend/src/views/SecretMainPage/SecretMainPage.tsx index b25cd60d5..60fe31dce 100644 --- a/frontend/src/views/SecretMainPage/SecretMainPage.tsx +++ b/frontend/src/views/SecretMainPage/SecretMainPage.tsx @@ -4,7 +4,6 @@ import { useRouter } from "next/router"; import { subject } from "@casl/ability"; import { faArrowDown, faArrowUp } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { twMerge } from "tailwind-merge"; import NavHeader from "@app/components/navigation/NavHeader"; import { PermissionDeniedBanner } from "@app/components/permissions"; @@ -229,11 +228,7 @@ export const SecretMainPage = () => { isSnapshotCountLoading={isSnapshotCountLoading} onClickRollbackMode={() => handlePopUpToggle("snapshots", true)} /> -
+
{isNotEmtpy && (
diff --git a/frontend/src/views/SecretMainPage/components/ActionBar/ActionBar.tsx b/frontend/src/views/SecretMainPage/components/ActionBar/ActionBar.tsx index c15d27788..0c3f3b03e 100644 --- a/frontend/src/views/SecretMainPage/components/ActionBar/ActionBar.tsx +++ b/frontend/src/views/SecretMainPage/components/ActionBar/ActionBar.tsx @@ -235,7 +235,10 @@ export const ActionBar = ({ Apply tags to filter secrets {tags.map(({ _id, name, tagColor }) => ( onToggleTagFilter(_id)} + onClick={(evt) => { + evt.preventDefault(); + onToggleTagFilter(_id); + }} key={_id} icon={filter?.tags[_id] && } iconPos="right"