audiobookshelf/client/pages/index.vue

23 lines
418 B
Vue
Raw Normal View History

2021-08-18 00:01:11 +02:00
<template>
2021-12-02 02:07:03 +01:00
<div class="page" :class="streamAudiobook ? 'streaming' : ''"></div>
2021-08-18 00:01:11 +02:00
</template>
<script>
export default {
asyncData({ redirect, store }) {
redirect(`/library/${store.state.libraries.currentLibraryId}`)
},
data() {
return {}
},
2021-08-18 00:01:11 +02:00
computed: {
streamAudiobook() {
return this.$store.state.streamAudiobook
}
},
methods: {},
mounted() {},
beforeDestroy() {}
}
</script>