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:
parent
a439695248
commit
194b6e491d
3 changed files with 24 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue