mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 22:39:41 +02:00
feat(ui): improve Kubernetes node view [r8s-47] (#84)
This commit is contained in:
parent
81322664ea
commit
8ed7cd80cb
2 changed files with 56 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
import { name } from './name';
|
||||
import { role } from './role';
|
||||
import { status } from './status';
|
||||
import { conditions } from './conditions';
|
||||
import { cpu } from './cpu';
|
||||
import { memory } from './memory';
|
||||
import { version } from './version';
|
||||
|
@ -9,13 +10,14 @@ import { getActions } from './actions';
|
|||
|
||||
export function getColumns(isServerMetricsEnabled: boolean) {
|
||||
if (!isServerMetricsEnabled) {
|
||||
return [name, role, status, cpu, memory, version, ip];
|
||||
return [name, role, status, conditions, cpu, memory, version, ip];
|
||||
}
|
||||
|
||||
return [
|
||||
name,
|
||||
role,
|
||||
status,
|
||||
conditions,
|
||||
cpu,
|
||||
memory,
|
||||
version,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue