koel/resources/assets/js/components/screens/home/ViewAllRecentSongsButton.vue

19 lines
375 B
Vue
Raw Normal View History

2024-04-04 22:20:42 +00:00
<template>
<Btn highlight rounded small @click.prevent="goToRecentlyPlayedScreen">
View All
</Btn>
</template>
<script setup lang="ts">
import { useRouter } from '@/composables'
import Btn from '@/components/ui/form/Btn.vue'
const { go } = useRouter()
const goToRecentlyPlayedScreen = () => go('recently-played')
</script>
<style scoped lang="postcss">
</style>