audiobookshelf/client/pages/library/_id.vue
2021-09-22 20:40:35 -05:00

31 lines
548 B
Vue

<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>