Fix monitor tags deletion (#5463)

This commit is contained in:
Ionys 2024-12-21 12:26:36 +01:00 committed by GitHub
parent fd55659c2b
commit 97cbaac5d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ export default {
return tagOptions; return tagOptions;
}, },
selectedTags() { 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() { colorOptions() {
return colorOptions(this); return colorOptions(this);