stop editing pins on popover close
This commit is contained in:
parent
f944a08f25
commit
ca8e3cea8d
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||||
},
|
},
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue