From faded67debcb220c3f887b767af055ad02bda98c Mon Sep 17 00:00:00 2001 From: Alice Groux Date: Thu, 10 Dec 2020 03:57:35 +0100 Subject: [PATCH] fix(k8s/node): sort labels (#4417) --- app/kubernetes/views/cluster/node/nodeController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/kubernetes/views/cluster/node/nodeController.js b/app/kubernetes/views/cluster/node/nodeController.js index 22f96d8c0..cc4f7056b 100644 --- a/app/kubernetes/views/cluster/node/nodeController.js +++ b/app/kubernetes/views/cluster/node/nodeController.js @@ -339,8 +339,8 @@ class KubernetesNodeController { this.availableEffects = _.values(KubernetesNodeTaintEffects); this.formValues = KubernetesNodeConverter.nodeToFormValues(this.node); - this.formValues.Labels = KubernetesNodeHelper.reorderLabels(this.formValues.Labels); this.formValues.Labels = KubernetesNodeHelper.computeUsedLabels(this.applications, this.formValues.Labels); + this.formValues.Labels = KubernetesNodeHelper.reorderLabels(this.formValues.Labels); this.state.viewReady = true; }