Skip to content

Commit

Permalink
frontend: Fix workload charts' order
Browse files Browse the repository at this point in the history
So they are consistent with the sidebar's order of the workloads
they represent.

Signed-off-by: Robert Neumann <[email protected]>
  • Loading branch information
r0b2g1t authored Mar 25, 2024
1 parent 612754b commit fcc8a3f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions frontend/src/components/workload/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,15 @@ export default function Overview() {
}

const workloads: KubeObject[] = [
DaemonSet,
Pod,
Deployment,
StatefulSet,
DaemonSet,
ReplicaSet,
Job,
CronJob,
ReplicaSet,
StatefulSet,
Pod,
];

workloads.forEach((workloadClass: KubeObject) => {
workloadClass.useApiList(
(items: InstanceType<typeof workloadClass>[]) => {
Expand Down

0 comments on commit fcc8a3f

Please sign in to comment.