stop editing pins on popover close

This commit is contained in:
Henry Jameson 2025-01-18 21:44:56 +02:00
parent f944a08f25
commit ca8e3cea8d
2 changed files with 4 additions and 2 deletions

View file

@ -105,6 +105,9 @@ const StatusActionButtons = {
.catch(err => this.$emit('onError', err.error.error)) .catch(err => this.$emit('onError', err.error.error))
.finally(() => setTimeout(() => { this.animationState[button.name] = false })) .finally(() => setTimeout(() => { this.animationState[button.name] = false }))
}, },
onExtraClose () {
this.showPin = false
},
isPinned (button) { isPinned (button) {
return this.pinnedItems.has(button.name) return this.pinnedItems.has(button.name)
}, },

View file

@ -42,8 +42,7 @@
placement="top" placement="top"
:offset="{ y: 5 }" :offset="{ y: 5 }"
remove-padding remove-padding
@show="onShow" @close="onExtraClose"
@close="onClose"
> >
<template #trigger> <template #trigger>
<FAIcon <FAIcon