diff --git a/src/components/MonitorList.vue b/src/components/MonitorList.vue index 2093331a7..bd771f8f0 100644 --- a/src/components/MonitorList.vue +++ b/src/components/MonitorList.vue @@ -19,7 +19,7 @@
-
+
{{ item.name }} @@ -28,7 +28,7 @@
-
+
@@ -63,7 +63,7 @@ export default { data() { return { searchText: "", - } + }; }, computed: { sortedMonitorList() { @@ -92,7 +92,7 @@ export default { } return m1.name.localeCompare(m2.name); - }) + }); // Simple filter by search text // finds monitor name, tag name or tag value @@ -101,8 +101,8 @@ export default { result = result.filter(monitor => { return monitor.name.toLowerCase().includes(loweredSearchText) || monitor.tags.find(tag => tag.name.toLowerCase().includes(loweredSearchText) - || tag.value?.toLowerCase().includes(loweredSearchText)) - }) + || tag.value?.toLowerCase().includes(loweredSearchText)); + }); } return result; @@ -116,7 +116,7 @@ export default { this.searchText = ""; } }, -} +};