mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-23 01:32:15 +00:00
DesktopToolbar.vue refactoring
This commit is contained in:
Vendored
+11
@@ -28,6 +28,17 @@ const itemHelpers = {
|
||||
})
|
||||
}
|
||||
|
||||
Vue.prototype.$dissolveTeamFolder = function () {
|
||||
events.$emit('confirm:open', {
|
||||
title: this.$t('Are you sure you want to dissolve this team?'),
|
||||
message: this.$t('All team members will lose access to your files and existing folder will be moved into your "Files" section.'),
|
||||
action: {
|
||||
id: 'token.id',
|
||||
operation: 'dissolve-team-folder'
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Vue.prototype.$createTeamFolder = function (entry) {
|
||||
events.$emit('popup:open', {name: 'create-team-folder'})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user