2021-08-18 00:01:11 +02:00
|
|
|
<template>
|
|
|
|
<div class="page" :class="streamAudiobook ? 'streaming' : ''">
|
2021-09-24 14:32:38 +02:00
|
|
|
<!-- <app-book-shelf-toolbar /> -->
|
2021-09-23 03:40:35 +02:00
|
|
|
<!-- <div class="flex h-full">
|
|
|
|
<app-side-rail />
|
|
|
|
<div class="flex-grow"> -->
|
2021-09-24 14:32:38 +02:00
|
|
|
<!-- <app-book-shelf /> -->
|
2021-09-23 03:40:35 +02:00
|
|
|
<!-- </div> -->
|
|
|
|
<!-- </div> -->
|
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>
|