diff --git a/web/src/store/store.js b/web/src/store/store.js index a9b37443..b1c389a8 100644 --- a/web/src/store/store.js +++ b/web/src/store/store.js @@ -222,7 +222,7 @@ export const store = new Vuex.Store({ // first sort alphabetically, then move failing clients to the top const sortedAlpha = output.sort((a, b) => (a.label > b.label ? 1 : -1)); const sortedByFailing = sortedAlpha.sort(a => - a.iconColor === "red" ? -1 : 1 + a.iconColor === "negative" ? -1 : 1 ); commit("loadTree", sortedByFailing); //commit("destroySubTable");