add close sortingAndPreview after click anywhere in application

This commit is contained in:
Milos Holba
2020-12-16 12:21:55 +01:00
parent 7b27fa70d8
commit 5bc66d51be
4 changed files with 101 additions and 113 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div id="vue-file-manager" v-cloak>
<div id="vue-file-manager" v-cloak @click="close">
<!--System alerts-->
<Alert/>
@@ -135,6 +135,11 @@
isScaledDown: false,
}
},
methods: {
close () {
events.$emit('sortingAndPreview', false)
}
},
beforeMount() {
// Store config to vuex