1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 16:29:44 +02:00
portainer/app/react/kubernetes/configs/RestrictedSecretBadge.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
391 B
TypeScript
Raw Normal View History

import { Badge } from '@@/Badge';
import { TooltipWithChildren } from '@@/Tip/TooltipWithChildren';
export function RestrictedSecretBadge() {
return (
<TooltipWithChildren message="You can only view details of secrets you've created yourself in Portainer">
<div className="min-w-min">
<Badge type="warn">Restricted</Badge>
</div>
</TooltipWithChildren>
);
}