1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 22:39:41 +02:00

fix(namespace): wait for system ns setting to load before selecting existing ns [EE-6917] (#11481)

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali 2024-04-04 08:18:13 +13:00 committed by GitHub
parent a439695248
commit 194b6e491d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 19 deletions

View file

@ -3,11 +3,11 @@ import { Authorized } from '@/react/hooks/useUser';
import { TextTip } from '@@/Tip/TextTip';
interface Props {
showSystemResources: boolean;
showSystemResources?: boolean;
}
export function SystemResourceDescription({ showSystemResources }: Props) {
return !showSystemResources ? (
return showSystemResources === false ? (
<Authorized authorizations="K8sAccessSystemNamespaces" adminOnlyCE>
<TextTip color="blue" className="!mb-0">
System resources are hidden, this can be changed in the table settings