mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
b598f0d105
commit
6c677ef63d
1 changed files with 2 additions and 24 deletions
|
@ -4,13 +4,7 @@
|
|||
<v-main>
|
||||
<Snackbar/>
|
||||
<Confirm/>
|
||||
<!-- <div v-if='showCollections || showBack'>
|
||||
<v-btn class='ml-2 mt-2' v-if='showBack' outlined color='primary' to='/'><v-icon v-text='mdiChevronLeft'></v-icon></v-btn>
|
||||
<v-btn class='ml-2 mt-2' outlined v-for='collection in collections' color='primary' :key='collection.id' :to='`/collection/${collection.name}`'>{{collection.name}}</v-btn>
|
||||
</div> -->
|
||||
<!-- <v-fade-transition hide-on-leave> -->
|
||||
<nuxt />
|
||||
<!-- </v-fade-transition> -->
|
||||
<nuxt />
|
||||
</v-main>
|
||||
<Footer/>
|
||||
|
||||
|
@ -34,25 +28,9 @@ export default {
|
|||
link: [{ rel: 'icon', type: 'image/png', href: this.settings.baseurl + '/logo.png' }],
|
||||
}
|
||||
},
|
||||
// async fetch () {
|
||||
// if (this.$route.name && ['tag-tag', 'index', 'g-collection', 'p-place'].includes(this.$route.name)) {
|
||||
// this.collections = await this.$axios.$get('collections').catch(_e => [])
|
||||
// } else {
|
||||
// this.collections = []
|
||||
// }
|
||||
// },
|
||||
name: 'Default',
|
||||
components: { Appbar, Snackbar, Footer, Confirm },
|
||||
computed: {
|
||||
...mapState(['settings']),
|
||||
// showBack () {
|
||||
// return ['tag-tag', 'collection-collection', 'place-place', 'search', 'announcement-id'].includes(this.$route.name)
|
||||
// },
|
||||
// showCollections () {
|
||||
// if (!this.collections || this.collections.length === 0) return false
|
||||
// return ['tag-tag', 'index', 'g-collection', 'p-place'].includes(this.$route.name)
|
||||
// }
|
||||
},
|
||||
computed: mapState(['settings']),
|
||||
created () {
|
||||
this.$vuetify.theme.dark = this.settings['theme.is_dark']
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue