From ea8f78cdf5a9007501fc1b50d1b150c31cfa5110 Mon Sep 17 00:00:00 2001 From: Oscar Zhou Date: Thu, 15 Feb 2024 20:21:16 +1300 Subject: [PATCH] chore(lint): fix lint failure after latest merge --- .../kubernetes/DeployView/StackName/StackNameLabelInsight.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/react/kubernetes/DeployView/StackName/StackNameLabelInsight.tsx b/app/react/kubernetes/DeployView/StackName/StackNameLabelInsight.tsx index 28cafc9b4..bac747632 100644 --- a/app/react/kubernetes/DeployView/StackName/StackNameLabelInsight.tsx +++ b/app/react/kubernetes/DeployView/StackName/StackNameLabelInsight.tsx @@ -4,12 +4,12 @@ import { InsightsBox } from '@@/InsightsBox'; import { Link } from '@@/Link'; export function StackNameLabelInsight() { - const { isAdmin } = useCurrentUser(); + const { isPureAdmin } = useCurrentUser(); const insightsBoxContent = ( <> The stack field below was previously labelled 'Name' but, in fact, it's always been the stack name (hence the relabelling). - {isAdmin && ( + {isPureAdmin && ( <>
Kubernetes Stacks functionality can be turned off entirely via{' '}