improvements for bookmark button

This commit is contained in:
Henry Jameson 2025-02-19 16:22:10 +02:00
commit 7bab1e4259
7 changed files with 27 additions and 10 deletions

View file

@ -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>