[autofix.ci] apply automated fixes
This commit is contained in:
parent
38613d03f0
commit
be6e4264e4
@ -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));
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@ -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%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user