mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
improvement(kubernetes): right align tags in datatables R8S-250 (#601)
Co-authored-by: testA113 <aliharriss1995@gmail.com>
This commit is contained in:
parent
3800249921
commit
f6f07f4690
23 changed files with 68 additions and 55 deletions
|
@ -55,9 +55,12 @@ function Cell({ row }: CellContext<ConfigMapRowData, string>) {
|
|||
>
|
||||
{name}
|
||||
</Link>
|
||||
{isSystemConfigMap && <SystemBadge />}
|
||||
{!isSystemToken && !hasConfigurationOwner && <ExternalBadge />}
|
||||
{!row.original.inUse && !isSystemConfigMap && <UnusedBadge />}
|
||||
|
||||
<div className="ml-auto flex gap-2">
|
||||
{isSystemConfigMap && <SystemBadge />}
|
||||
{!isSystemToken && !hasConfigurationOwner && <ExternalBadge />}
|
||||
{!row.original.inUse && !isSystemConfigMap && <UnusedBadge />}
|
||||
</div>
|
||||
</div>
|
||||
</Authorized>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue