diff options
author | Joshua Lambert <joshua@gitlab.com> | 2018-04-06 21:26:23 +0300 |
---|---|---|
committer | Joshua Lambert <joshua@gitlab.com> | 2018-04-07 02:47:29 +0300 |
commit | dca4c62f5bdd976c126a7758578fa9fc58e6d788 (patch) | |
tree | 08d088a76ee62dad6e546f8b2f2dcdc6a323d988 /app | |
parent | 85f4e323f9be5b7056850be353d8689d503a5c86 (diff) |
Fix dashboard sorting
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/monitoring/stores/monitoring_store.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/monitoring/stores/monitoring_store.js b/app/assets/javascripts/monitoring/stores/monitoring_store.js index 854636e9a89..535c415cd6d 100644 --- a/app/assets/javascripts/monitoring/stores/monitoring_store.js +++ b/app/assets/javascripts/monitoring/stores/monitoring_store.js @@ -1,7 +1,7 @@ import _ from 'underscore'; function sortMetrics(metrics) { - return _.chain(metrics).sortBy('weight').sortBy('title').value(); + return _.chain(metrics).sortBy('title').sortBy('weight').value(); } function normalizeMetrics(metrics) { |