mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 02:50:39 +00:00
- ability leave team folder
- refactoring
This commit is contained in:
Vendored
+11
@@ -45,6 +45,17 @@ const itemHelpers = {
|
||||
})
|
||||
},
|
||||
|
||||
Vue.prototype.$detachMeFromTeamFolder = function (folder) {
|
||||
events.$emit('confirm:open', {
|
||||
title: this.$t('Are you sure you want to leave this team?'),
|
||||
message: this.$t('You will not have access to the files in this team folder.'),
|
||||
action: {
|
||||
id: folder.data.id,
|
||||
operation: 'leave-team-folder',
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Vue.prototype.$createTeamFolder = function () {
|
||||
events.$emit('popup:open', {name: 'create-team-folder'})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user