[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2026-01-09 04:31:21 +00:00 committed by GitHub
parent 38613d03f0
commit be6e4264e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 23 deletions

View File

@ -213,9 +213,10 @@ export default {
}
// Match by tags (name or value)
if (monitor.tags && monitor.tags.length > 0) {
return monitor.tags.some(tag =>
(tag.name && tag.name.toLowerCase().includes(loweredSearchText)) ||
(tag.value && tag.value.toLowerCase().includes(loweredSearchText))
return monitor.tags.some(
(tag) =>
(tag.name && tag.name.toLowerCase().includes(loweredSearchText)) ||
(tag.value && tag.value.toLowerCase().includes(loweredSearchText))
);
}
return false;
@ -231,7 +232,7 @@ export default {
return true;
}
// Show group if at least one monitor matches
return group.monitorList && group.monitorList.some(monitor => this.shouldShowMonitor(monitor));
return group.monitorList && group.monitorList.some((monitor) => this.shouldShowMonitor(monitor));
},
/**

View File

@ -534,7 +534,13 @@
👀 {{ $t("statusPageNothing") }}
</div>
<PublicGroupList :edit-mode="enableEditMode" :show-tags="config.showTags" :show-certificate-expiry="config.showCertificateExpiry" :show-only-last-heartbeat="config.showOnlyLastHeartbeat" :search-text="searchText" />
<PublicGroupList
:edit-mode="enableEditMode"
:show-tags="config.showTags"
:show-certificate-expiry="config.showCertificateExpiry"
:show-only-last-heartbeat="config.showOnlyLastHeartbeat"
:search-text="searchText"
/>
</div>
<footer class="mt-5 mb-4">
@ -1315,8 +1321,7 @@ export default {
clearSearchText() {
this.searchText = "";
},
}
},
};
</script>
@ -1360,24 +1365,10 @@ export default {
.search-divider {
width: 1px;
height: 30px;
background:
linear-gradient(
to bottom,
transparent 0%,
#d0d0d0 20%,
#d0d0d0 80%,
transparent 100%
);
background: linear-gradient(to bottom, transparent 0%, #d0d0d0 20%, #d0d0d0 80%, transparent 100%);
.dark & {
background:
linear-gradient(
to bottom,
transparent 0%,
#3a4450 20%,
#3a4450 80%,
transparent 100%
);
background: linear-gradient(to bottom, transparent 0%, #3a4450 20%, #3a4450 80%, transparent 100%);
}
}