mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
vue frontend update
This commit is contained in:
9
resources/js/helpers.js
vendored
9
resources/js/helpers.js
vendored
@@ -209,11 +209,18 @@ const Helpers = {
|
||||
anchor.click()
|
||||
}
|
||||
|
||||
Vue.prototype.$isTrashLocation = function() {
|
||||
Vue.prototype.$closePopup = function() {
|
||||
events.$emit('popup:close')
|
||||
}
|
||||
|
||||
Vue.prototype.$isTrashLocation = function() {
|
||||
return store.getters.currentFolder && store.getters.currentFolder.location === 'trash' || store.getters.currentFolder && store.getters.currentFolder.location === 'trash-root' ? true : false
|
||||
}
|
||||
|
||||
Vue.prototype.$isBaseLocation = function() {
|
||||
return store.getters.currentFolder && store.getters.currentFolder.location === 'base' ? true : false
|
||||
}
|
||||
|
||||
Vue.prototype.$isMobile = function() {
|
||||
const toMatch = [
|
||||
/Android/i,
|
||||
|
||||
Reference in New Issue
Block a user