28 lines
384 B
Vue
28 lines
384 B
Vue
|
<template>
|
||
|
<NcAppContent :class="episode ? 'margin' : ''">
|
||
|
<slot />
|
||
|
</NcAppContent>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { NcAppContent } from '@nextcloud/vue'
|
||
|
|
||
|
export default {
|
||
|
name: 'AppContent',
|
||
|
components: {
|
||
|
NcAppContent,
|
||
|
},
|
||
|
computed: {
|
||
|
episode() {
|
||
|
return this.$store.state.player.episode
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped>
|
||
|
.margin {
|
||
|
padding-bottom: 6rem;
|
||
|
}
|
||
|
</style>
|