mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 06:28:11 +00:00
feat(dashboard-v3): removed a line at top on empty state
This commit is contained in:
@@ -4,7 +4,6 @@ import { useRouter } from "next/router";
|
|||||||
import { subject } from "@casl/ability";
|
import { subject } from "@casl/ability";
|
||||||
import { faArrowDown, faArrowUp } from "@fortawesome/free-solid-svg-icons";
|
import { faArrowDown, faArrowUp } from "@fortawesome/free-solid-svg-icons";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import { twMerge } from "tailwind-merge";
|
|
||||||
|
|
||||||
import NavHeader from "@app/components/navigation/NavHeader";
|
import NavHeader from "@app/components/navigation/NavHeader";
|
||||||
import { PermissionDeniedBanner } from "@app/components/permissions";
|
import { PermissionDeniedBanner } from "@app/components/permissions";
|
||||||
@@ -229,11 +228,7 @@ export const SecretMainPage = () => {
|
|||||||
isSnapshotCountLoading={isSnapshotCountLoading}
|
isSnapshotCountLoading={isSnapshotCountLoading}
|
||||||
onClickRollbackMode={() => handlePopUpToggle("snapshots", true)}
|
onClickRollbackMode={() => handlePopUpToggle("snapshots", true)}
|
||||||
/>
|
/>
|
||||||
<div
|
<div className="mt-3 overflow-y-auto overflow-x-hidden thin-scrollbar bg-mineshaft-800 text-left text-bunker-300 rounded-md text-sm">
|
||||||
className={twMerge(
|
|
||||||
"mt-3 overflow-y-auto overflow-x-hidden thin-scrollbar bg-mineshaft-800 text-left text-bunker-300 rounded-md text-sm border border-mineshaft-600"
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
<div className="flex flex-col ">
|
<div className="flex flex-col ">
|
||||||
{isNotEmtpy && (
|
{isNotEmtpy && (
|
||||||
<div className="flex font-medium border-b border-mineshaft-600">
|
<div className="flex font-medium border-b border-mineshaft-600">
|
||||||
|
|||||||
@@ -235,7 +235,10 @@ export const ActionBar = ({
|
|||||||
<DropdownMenuLabel>Apply tags to filter secrets</DropdownMenuLabel>
|
<DropdownMenuLabel>Apply tags to filter secrets</DropdownMenuLabel>
|
||||||
{tags.map(({ _id, name, tagColor }) => (
|
{tags.map(({ _id, name, tagColor }) => (
|
||||||
<DropdownMenuItem
|
<DropdownMenuItem
|
||||||
onClick={() => onToggleTagFilter(_id)}
|
onClick={(evt) => {
|
||||||
|
evt.preventDefault();
|
||||||
|
onToggleTagFilter(_id);
|
||||||
|
}}
|
||||||
key={_id}
|
key={_id}
|
||||||
icon={filter?.tags[_id] && <FontAwesomeIcon icon={faCheckCircle} />}
|
icon={filter?.tags[_id] && <FontAwesomeIcon icon={faCheckCircle} />}
|
||||||
iconPos="right"
|
iconPos="right"
|
||||||
|
|||||||
Reference in New Issue
Block a user