diff --git a/app/react/kubernetes/configs/ListView/ConfigMapsDatatable/columns/name.tsx b/app/react/kubernetes/configs/ListView/ConfigMapsDatatable/columns/name.tsx index 09b414403..163cf3343 100644 --- a/app/react/kubernetes/configs/ListView/ConfigMapsDatatable/columns/name.tsx +++ b/app/react/kubernetes/configs/ListView/ConfigMapsDatatable/columns/name.tsx @@ -63,15 +63,15 @@ function Cell({ row }: CellContext) { {isSystemConfigMap && ( - system + System )} {!isSystemToken && !hasConfigurationOwner && ( - external + External )} {!row.original.inUse && !isSystemConfigMap && ( - unused + Unused )} diff --git a/app/react/kubernetes/configs/ListView/SecretsDatatable/columns/name.tsx b/app/react/kubernetes/configs/ListView/SecretsDatatable/columns/name.tsx index 9a03fd57e..d9ea8db06 100644 --- a/app/react/kubernetes/configs/ListView/SecretsDatatable/columns/name.tsx +++ b/app/react/kubernetes/configs/ListView/SecretsDatatable/columns/name.tsx @@ -66,15 +66,15 @@ function Cell({ row }: CellContext) { {isSystemSecret && ( - system + System )} {!isSystemToken && !hasConfigurationOwner && ( - external + External )} {!row.original.inUse && !isSystemSecret && ( - unused + Unused )} diff --git a/app/react/kubernetes/ingresses/IngressDatatable/columns/name.tsx b/app/react/kubernetes/ingresses/IngressDatatable/columns/name.tsx index 44c6a0767..f5f7a9e43 100644 --- a/app/react/kubernetes/ingresses/IngressDatatable/columns/name.tsx +++ b/app/react/kubernetes/ingresses/IngressDatatable/columns/name.tsx @@ -22,7 +22,7 @@ function Cell({ row, getValue }: CellContext) { const isSystemIngress = isSystemNamespace(namespace); return ( -
+
) { {isSystemIngress && ( - system + System )}
diff --git a/app/react/kubernetes/services/ServicesView/ServicesDatatable/columns/name.tsx b/app/react/kubernetes/services/ServicesView/ServicesDatatable/columns/name.tsx index 99d89b5b9..6f80a6a74 100644 --- a/app/react/kubernetes/services/ServicesView/ServicesDatatable/columns/name.tsx +++ b/app/react/kubernetes/services/ServicesView/ServicesDatatable/columns/name.tsx @@ -1,6 +1,8 @@ import { Authorized } from '@/react/hooks/useUser'; import { isSystemNamespace } from '@/react/kubernetes/namespaces/utils'; +import { Badge } from '@@/Badge'; + import { columnHelper } from './helper'; export const name = columnHelper.accessor( @@ -32,21 +34,21 @@ export const name = columnHelper.accessor( !row.original.Labels['io.portainer.kubernetes.application.owner']; return ( - - {name} - - {isSystem && ( - - system - - )} - - {isExternal && !isSystem && ( - - external - - )} - +
+ + {name} + + {isSystem && ( + + System + + )} + + {isExternal && !isSystem && ( + External + )} + +
); }, }