docs: add comments

This commit is contained in:
Peace
2023-01-28 14:22:15 +01:00
parent faf3488b1e
commit 9a46b50989
4 changed files with 11 additions and 9 deletions

View File

@@ -79,6 +79,7 @@ export default {
result = result.filter(monitor => monitor.parent === null);
}
// Filter result by active state, weight and alphabetical
result.sort((m1, m2) => {
if (m1.active !== m2.active) {