Add icon for folder selector

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-24 00:44:05 +02:00
parent 1097b95fa5
commit 49ec95b8f6
2 changed files with 6 additions and 4 deletions

View file

@ -1,10 +1,10 @@
import { library } from '@fortawesome/fontawesome-svg-core' import { library } from '@fortawesome/fontawesome-svg-core'
import { faChevronRight } from '@fortawesome/free-solid-svg-icons' import { faChevronRight, faFolder } from '@fortawesome/free-solid-svg-icons'
import { mapState } from 'vuex' import { mapState } from 'vuex'
import Popover from '../popover/popover.vue' import Popover from '../popover/popover.vue'
library.add(faChevronRight) library.add(faChevronRight, faFolder)
const StatusBookmarkFolderMenu = { const StatusBookmarkFolderMenu = {
props: [ props: [

View file

@ -22,9 +22,11 @@
</div> </div>
</template> </template>
<template #trigger> <template #trigger>
<button class="menu-item dropdown-item -has-submenu"> <button class="menu-item dropdown-item dropdown-item-icon -has-submenu">
{{ $t('bookmark_folders.select_folder') }}
<FAIcon <FAIcon
fixed-width
icon="folder"
/>{{ $t('bookmark_folders.select_folder') }}<FAIcon
class="chevron-icon" class="chevron-icon"
size="lg" size="lg"
icon="chevron-right" icon="chevron-right"