diff options
| author | shpuld <shp@cock.li> | 2018-12-23 19:50:19 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2018-12-23 19:50:19 +0200 |
| commit | e46b560ead02ab5d9df8edbb997c56b835aa21d4 (patch) | |
| tree | 5dc1fb27ff7f41639316de370b80d2e229049465 /src/App.js | |
| parent | f72b1d048e636c0637dfb1469c32875bcacce61f (diff) | |
move closing logic to drawer, add swipe to close
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -30,8 +30,7 @@ export default { window.CSS.supports('-moz-mask-size', 'contain') || window.CSS.supports('-ms-mask-size', 'contain') || window.CSS.supports('-o-mask-size', 'contain') - ), - showMobileSidebar: false + ) }), created () { // Load the locale from the storage @@ -93,7 +92,7 @@ export default { this.finderHidden = hidden }, toggleMobileSidebar () { - this.showMobileSidebar = !this.showMobileSidebar + this.$refs.sideDrawer.toggleDrawer() } } } |
