audiobookshelf/client/pages/library/_id.vue

31 lines
548 B
Vue
Raw Normal View History

2021-09-23 03:40:35 +02:00
<template>
<div class="page" :class="streamAudiobook ? 'streaming' : ''">
<div class="flex h-full">
<app-side-rail />
<div class="flex-grow">
<app-book-shelf-toolbar />
<app-book-shelf :page="id || ''" />
</div>
</div>
</div>
</template>
<script>
export default {
asyncData({ params }) {
return {
id: params.id
}
},
data() {
return {}
},
computed: {
streamAudiobook() {
return this.$store.state.streamAudiobook
}
},
methods: {},
mounted() {}
}
</script>