PIT: UI views

This commit is contained in:
carlosmonastyrski
2025-05-20 08:22:14 -03:00
parent 8bfd3913da
commit 6319f53802
47 changed files with 4134 additions and 196 deletions
@@ -14,13 +14,15 @@ type Props = {
selectedPathSegmentIndex: number;
environmentSlug: string;
projectId: string;
disableCopy?: boolean;
};
export const SecretDashboardPathBreadcrumb = ({
secretPathSegments,
selectedPathSegmentIndex,
environmentSlug,
projectId
projectId,
disableCopy
}: Props) => {
const [, isCopying, setIsCopying] = useTimedReset({
initialState: false
@@ -32,7 +34,7 @@ export const SecretDashboardPathBreadcrumb = ({
return (
<div className="flex items-center space-x-3">
{isLastItem ? (
{isLastItem && !disableCopy ? (
<div className="group flex items-center space-x-2">
<span
className={twMerge(