2024-01-16 21:12:07 +00:00
|
|
|
<template>
|
2024-01-17 21:38:47 +00:00
|
|
|
<NcAppNavigation :class="episode ? 'padding' : ''">
|
2024-01-16 21:12:07 +00:00
|
|
|
<slot />
|
|
|
|
<template #list>
|
|
|
|
<slot name="list" />
|
|
|
|
</template>
|
|
|
|
<template #footer>
|
|
|
|
<slot name="footer" />
|
|
|
|
</template>
|
|
|
|
</NcAppNavigation>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { NcAppNavigation } from '@nextcloud/vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'AppNavigation',
|
|
|
|
components: {
|
|
|
|
NcAppNavigation,
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
episode() {
|
|
|
|
return this.$store.state.player.episode
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
2024-01-17 21:38:47 +00:00
|
|
|
.padding {
|
2024-01-16 21:12:07 +00:00
|
|
|
padding-bottom: 6rem;
|
|
|
|
}
|
|
|
|
</style>
|