feat(front): add fw button to shortcuts modal

This commit is contained in:
Ciarán Ainsworth 2023-11-12 21:22:35 +01:00
parent 3f7ffbc885
commit abe2bbbb3e
No known key found for this signature in database
1 changed files with 7 additions and 2 deletions

View File

@ -4,6 +4,8 @@ import { useVModel } from '@vueuse/core'
import { computed } from 'vue' import { computed } from 'vue'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { FwButton } from '@funkwhale/ui'
interface Events { interface Events {
(e: 'update:show', show: boolean): void (e: 'update:show', show: boolean): void
} }
@ -153,9 +155,12 @@ const player = computed(() => [
</div> </div>
</section> </section>
<footer class="actions"> <footer class="actions">
<button class="ui basic cancel button"> <fw-button
color="secondary"
@click="showRef = !showRef"
>
{{ $t('components.ShortcutsModal.button.close') }} {{ $t('components.ShortcutsModal.button.close') }}
</button> </fw-button>
</footer> </footer>
</semantic-modal> </semantic-modal>
</template> </template>