You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
Working sidebar on mobile
Former-commit-id: 4389362fe9a92d3f1b90bca7de9312373034449a [formerly 5c340376aa5df58f924f93d5aa534e5a6c48190b] [formerly 0e7e9e4f4584a7ac52dff5539c202602f86402d6 [formerly fb4af0afe0]]
Former-commit-id: b0f2d163f6ea189b09c17e568b8a9f97bb69c0db [formerly 3c8f7a3ffcf0baf7db7f7fb82509420188424e36]
Former-commit-id: 5b5b384652220684f831b5e83f48db1c046f8b2e
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div :class="{ multiple, loading }">
|
||||
<header>
|
||||
<div>
|
||||
<button aria-label="Toggle sidebar" title="Toggle sidebar" class="action">
|
||||
<button @click="openSidebar" aria-label="Toggle sidebar" title="Toggle sidebar" class="action">
|
||||
<i class="material-icons">menu</i>
|
||||
</button>
|
||||
<img src="../assets/logo.svg" alt="File Manager">
|
||||
@@ -227,6 +227,9 @@ export default {
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
openSidebar () {
|
||||
this.$store.commit('showHover', 'sidebar')
|
||||
},
|
||||
openSearch () {
|
||||
this.$store.commit('showHover', 'search')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user