This commit is contained in:
Henry Jameson 2022-08-04 23:32:06 +03:00
parent 2802e47ac9
commit 44d6d36ed1
2 changed files with 27 additions and 28 deletions

View File

@ -1,12 +1,12 @@
import Popover from '../popover/popover.vue'
import { mapGetters } from 'vuex'
import { library } from '@fortawesome/fontawesome-svg-core'
import { faList, faFolderTree, faBarsStaggered, faWrench } from '@fortawesome/free-solid-svg-icons'
import { faList, faFolderTree, faBars, faWrench } from '@fortawesome/free-solid-svg-icons'
library.add(
faList,
faFolderTree,
faBarsStaggered,
faBars,
faWrench
)
@ -51,7 +51,8 @@ const QuickViewSettings = {
showUserAvatars: {
get () { return this.mergedConfig.mentionLinkShowAvatar },
set () {
const value = !this.mentionLinkShowAvatar
const value = !this.showUserAvatars
console.log(value)
this.$store.dispatch('setOption', { name: 'mentionLinkShowAvatar', value })
}
},

View File

@ -6,7 +6,6 @@
>
<template #content>
<div class="dropdown-menu">
<div v-if="loggedIn">
<button
class="button-default dropdown-item"
@click="conversationDisplay = 'tree'"
@ -29,7 +28,6 @@
role="separator"
class="dropdown-divider"
/>
</div>
<button
class="button-default dropdown-item"
@click="showUserAvatars = !showUserAvatars"
@ -69,7 +67,7 @@
</template>
<template #trigger>
<button class="button-unstyled">
<FAIcon icon="bars-staggered" />
<FAIcon icon="bars" />
</button>
</template>
</Popover>