feat(front): add fw button to playlist overview

This commit is contained in:
Ciarán Ainsworth 2023-11-12 21:07:11 +01:00
parent 5f80754b63
commit 2882025c7c
No known key found for this signature in database
1 changed files with 5 additions and 3 deletions

View File

@ -16,6 +16,8 @@ import $ from 'jquery'
import PlaylistCardList from '~/components/playlists/CardList.vue'
import Pagination from '~/components/vui/Pagination.vue'
import { FwButton } from '@funkwhale/ui'
import useSharedLabels from '~/composables/locale/useSharedLabels'
import useOrdering from '~/composables/navigation/useOrdering'
import useErrorHandler from '~/composables/useErrorHandler'
@ -111,12 +113,12 @@ const paginateOptions = computed(() => sortedUniq([12, 25, 50, paginateBy.value]
{{ $t('views.playlists.List.header.browse') }}
</h2>
<template v-if="$store.state.auth.authenticated">
<button
class="ui success button"
<fw-button
color="primary"
@click="$store.commit('playlists/showModal', true)"
>
{{ $t('views.playlists.List.button.manage') }}
</button>
</fw-button>
<div class="ui hidden divider" />
</template>
<form