2021-08-18 00:01:11 +02:00
|
|
|
<template>
|
|
|
|
<div class="page" :class="streamAudiobook ? 'streaming' : ''">
|
2021-09-28 13:44:40 +02:00
|
|
|
<div class="flex h-full">
|
|
|
|
<app-side-rail />
|
|
|
|
<div class="flex-grow">
|
|
|
|
<app-book-shelf-toolbar is-home />
|
|
|
|
<app-book-shelf-categorized />
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-08-18 00:01:11 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
2021-10-05 05:11:42 +02:00
|
|
|
asyncData({ redirect, store }) {
|
2021-10-16 03:31:00 +02:00
|
|
|
redirect(`/library/${store.state.libraries.currentLibraryId}`)
|
2021-10-05 05:11:42 +02:00
|
|
|
},
|
2021-09-05 20:21:02 +02:00
|
|
|
data() {
|
|
|
|
return {}
|
|
|
|
},
|
2021-08-18 00:01:11 +02:00
|
|
|
computed: {
|
|
|
|
streamAudiobook() {
|
|
|
|
return this.$store.state.streamAudiobook
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {},
|
|
|
|
mounted() {},
|
|
|
|
beforeDestroy() {}
|
|
|
|
}
|
|
|
|
</script>
|