1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 13:55:21 +02:00

upgrade some badge components to match EE (#10451)

This commit is contained in:
Matt Hook 2023-10-13 03:10:16 +13:00 committed by GitHub
parent 57c45838d5
commit 7c4c985247
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 21 deletions

View file

@ -22,7 +22,7 @@ function Cell({ row, getValue }: CellContext<Ingress, string>) {
const isSystemIngress = isSystemNamespace(namespace);
return (
<div className="flex whitespace-nowrap">
<div className="flex flex-nowrap whitespace-nowrap">
<Authorized authorizations="K8sIngressesW" childrenUnauthorized={name}>
<Link
to="kubernetes.ingresses.edit"
@ -38,7 +38,7 @@ function Cell({ row, getValue }: CellContext<Ingress, string>) {
</Authorized>
{isSystemIngress && (
<Badge type="success" className="ml-2">
system
System
</Badge>
)}
</div>