mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
fix(node): check more node role labels [EE-6968] (#11658)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
48cf27a3b8
commit
2463648161
2 changed files with 27 additions and 8 deletions
|
@ -23,14 +23,12 @@ function StatusCell({
|
|||
}
|
||||
|
||||
return (
|
||||
<div className="whitespace-nowrap">
|
||||
<div className="inline-flex whitespace-nowrap gap-x-2">
|
||||
<StatusBadge color={status === 'Ready' ? 'success' : 'warning'}>
|
||||
{status}
|
||||
</StatusBadge>
|
||||
{node.spec?.unschedulable && (
|
||||
<StatusBadge color="warning" className="mt-2">
|
||||
SchedulingDisabled
|
||||
</StatusBadge>
|
||||
<StatusBadge color="warning">SchedulingDisabled</StatusBadge>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue