mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 15:34:17 +01:00
fix drawer showing open on small screens
This commit is contained in:
parent
76306e451c
commit
e88f788a93
1 changed files with 8 additions and 6 deletions
|
|
@ -124,12 +124,14 @@ import Vue from 'vue'
|
|||
export default Vue.extend({
|
||||
name: 'home',
|
||||
components: { LibraryDeleteDialog },
|
||||
data: () => ({
|
||||
drawerVisible: true,
|
||||
modalAddLibrary: false,
|
||||
modalDeleteLibrary: false,
|
||||
libraryToDelete: {} as LibraryDto
|
||||
}),
|
||||
data: function () {
|
||||
return {
|
||||
drawerVisible: this.$vuetify.breakpoint.lgAndUp,
|
||||
modalAddLibrary: false,
|
||||
modalDeleteLibrary: false,
|
||||
libraryToDelete: {} as LibraryDto
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
libraries (): LibraryDto[] {
|
||||
return this.$store.state.komgaLibraries.libraries
|
||||
|
|
|
|||
Loading…
Reference in a new issue