1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

improvement(kubernetes): right align tags in datatables R8S-250 (#601)

Co-authored-by: testA113 <aliharriss1995@gmail.com>
This commit is contained in:
James Player 2025-04-03 14:18:31 +13:00 committed by GitHub
parent 3800249921
commit f6f07f4690
23 changed files with 68 additions and 55 deletions

View file

@ -36,9 +36,10 @@ export const name = columnHelper.accessor(
<Authorized authorizations="K8sServiceW" childrenUnauthorized={name}>
{name}
{row.original.IsSystem && <SystemBadge />}
{isExternal && !row.original.IsSystem && <ExternalBadge />}
<div className="ml-auto flex gap-2">
{row.original.IsSystem && <SystemBadge />}
{isExternal && !row.original.IsSystem && <ExternalBadge />}
</div>
</Authorized>
</div>
);