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:
parent
57c45838d5
commit
7c4c985247
4 changed files with 23 additions and 21 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue