improvements for bookmark button
This commit is contained in:
parent
8912664ab3
commit
7bab1e4259
7 changed files with 27 additions and 10 deletions
|
|
@ -65,7 +65,7 @@ export default {
|
|||
'getClass',
|
||||
'getComponent',
|
||||
'doAction',
|
||||
'close'
|
||||
'outerClose'
|
||||
],
|
||||
components: {
|
||||
StatusBookmarkFolderMenu,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
:tabindex="0"
|
||||
:disabled="buttonClass.disabled"
|
||||
:href="getComponent(button) == 'a' ? button.link?.(funcArg) || remoteInteractionLink : undefined"
|
||||
@click="doActionWrap(button, close)"
|
||||
@click="doActionWrap(button, outerClose)"
|
||||
>
|
||||
<FALayers>
|
||||
<FAIcon
|
||||
|
|
@ -84,10 +84,11 @@
|
|||
fixed-width
|
||||
/>
|
||||
</template>
|
||||
<template #content>
|
||||
<template #content="{close}">
|
||||
<StatusBookmarkFolderMenu
|
||||
v-if="button.name === 'bookmark'"
|
||||
:status="status"
|
||||
:close="() => { close(); outerClose() }"
|
||||
/>
|
||||
</template>
|
||||
</Popover>
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@
|
|||
:func-arg="funcArg"
|
||||
:get-class="getClass"
|
||||
:get-component="getComponent"
|
||||
:close="close"
|
||||
:outerClose="close"
|
||||
:do-action="doAction"
|
||||
/>
|
||||
<button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue