Skip to content

Commit

Permalink
Display: Message: Fix selection of tag
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Jun 10, 2024
1 parent 54839f2 commit 321dafb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion assets/vue/views/message/MessageShow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ async function onSearchTags(query) {
const { items } = await messageTagService.searchUserTags(securityStore.user["@id"], query)
if (!items.length) {
items.push({ tag: query })
}
isLoadingSelect.value = false
return items
Expand All @@ -269,7 +273,7 @@ async function onItemSelect({ value }) {
return
}
} else {
const existingIndex = getTagIndex(value["@id"]) >= 0
const existingIndex = getTagIndex(value) >= 0
if (existingIndex) {
return
Expand Down

0 comments on commit 321dafb

Please sign in to comment.