mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-14 05:14:46 +00:00
Compare commits
4 commits
59686d07b6
...
a9198e5e90
Author | SHA1 | Date | |
---|---|---|---|
|
a9198e5e90 | ||
|
97cbaac5d9 | ||
|
08a45637c8 | ||
|
39da894598 |
2 changed files with 4 additions and 1 deletions
|
@ -327,6 +327,9 @@ export default {
|
|||
const loweredSearchText = this.searchText.toLowerCase();
|
||||
searchTextMatch =
|
||||
monitor.name.toLowerCase().includes(loweredSearchText)
|
||||
|| monitor.url?.toLowerCase().includes(loweredSearchText)
|
||||
|| monitor.hostname?.toLowerCase().includes(loweredSearchText)
|
||||
|| monitor.dns_resolve_server?.toLowerCase().includes(loweredSearchText)
|
||||
|| monitor.tags.find(tag => tag.name.toLowerCase().includes(loweredSearchText)
|
||||
|| tag.value?.toLowerCase().includes(loweredSearchText));
|
||||
}
|
||||
|
|
|
@ -197,7 +197,7 @@ export default {
|
|||
return tagOptions;
|
||||
},
|
||||
selectedTags() {
|
||||
return this.preSelectedTags.concat(this.newTags).filter(tag => !this.deleteTags.find(monitorTag => monitorTag.id === tag.id));
|
||||
return this.preSelectedTags.concat(this.newTags).filter(tag => !this.deleteTags.find(monitorTag => monitorTag.tag_id === tag.tag_id));
|
||||
},
|
||||
colorOptions() {
|
||||
return colorOptions(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue