more fixes for popover
This commit is contained in:
parent
af3c2bc6fc
commit
b3ce454203
6 changed files with 36 additions and 11 deletions
|
|
@ -39,7 +39,7 @@
|
|||
</template>
|
||||
</FALayers><span>{{ $t(button.label(funcArg)) }}</span>
|
||||
<FAIcon
|
||||
v-if="button.name === 'bookmark'"
|
||||
v-if="button.name === 'mute'"
|
||||
class="chevron-icon"
|
||||
size="lg"
|
||||
icon="chevron-right"
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ const BUTTONS = [{
|
|||
// =========
|
||||
// MUTE CONVERSATION, my beloved
|
||||
// =========
|
||||
name: 'mute-conversation',
|
||||
name: 'mute',
|
||||
icon: 'eye-slash',
|
||||
label: ({ status }) => status.thread_muted
|
||||
? 'status.unmute_conversation'
|
||||
|
|
|
|||
|
|
@ -129,6 +129,23 @@
|
|||
:do-action="doAction"
|
||||
/>
|
||||
</template>
|
||||
<template #content>
|
||||
<StatusBookmarkFolderMenu v-if="button.name === 'mute'" :status="funcArg.status" />
|
||||
</template>
|
||||
</Popover>
|
||||
<Popover
|
||||
trigger="hover"
|
||||
placement="right"
|
||||
:trigger-attrs="{ class: 'extra-button' }"
|
||||
v-if="button.name === 'bookmark'"
|
||||
>
|
||||
<template #trigger>
|
||||
<FAIcon
|
||||
class="chevron-icon"
|
||||
size="lg"
|
||||
icon="chevron-right"
|
||||
/>
|
||||
</template>
|
||||
<template #content>
|
||||
<StatusBookmarkFolderMenu v-if="button.name === 'bookmark'" :status="funcArg.status" />
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue