$showMobileMenu helper implementation

This commit is contained in:
Čarodej
2021-10-29 11:51:46 +02:00
parent ce846cc076
commit 2d7b6e4e05
14 changed files with 61 additions and 52 deletions

View File

@@ -377,23 +377,10 @@ const FunctionHelpers = {
events.$emit('spotlight:show')
}
Vue.prototype.$showLocations = function () {
events.$emit('mobile-menu:show', 'file-filter')
}
Vue.prototype.$createItems = function () {
events.$emit('mobile-menu:show', 'create-list')
}
Vue.prototype.$enableMultiSelectMode = function () {
this.$store.commit('TOGGLE_MULTISELECT_MODE')
}
Vue.prototype.$showViewOptions = function () {
events.$emit('mobile-menu:show', 'file-sorting')
}
// TODO: refactor other methods
Vue.prototype.$showMobileMenu = function (name) {
events.$emit('mobile-menu:show', name)
}