mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-15 04:30:29 +03:00
Fix monitor tags deletion: don't remove all the tags from the UI when deleting a single one
This commit is contained in:
parent
fd55659c2b
commit
b9a4b5d5ee
1 changed files with 1 additions and 1 deletions
|
@ -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