upload request prototype UI

This commit is contained in:
Čarodej
2022-02-16 16:57:57 +01:00
parent 3fafc811fe
commit 394a7b6baf
197 changed files with 6927 additions and 2738 deletions
+10 -3
View File
@@ -53,7 +53,10 @@ const itemHelpers = {
// Download single item
if (item && item.data.type !== 'folder') {
Vue.prototype.$downloadFile(item.data.attributes.file_url, item.data.attributes.name + '.' + item.data.attributes.mimetype)
Vue.prototype.$downloadFile(
item.data.attributes.file_url,
item.data.attributes.name + '.' + item.data.attributes.mimetype
)
return
}
@@ -69,7 +72,9 @@ const itemHelpers = {
Vue.prototype.$dissolveTeamFolder = function (folder) {
events.$emit('confirm:open', {
title: i18n.t('Are you sure you want to dissolve this team?'),
message: i18n.t('All team members will lose access to your files and existing folder will be moved into your "Files" section.'),
message: i18n.t(
'All team members will lose access to your files and existing folder will be moved into your "Files" section.'
),
action: {
id: folder.data.id,
operation: 'dissolve-team-folder',
@@ -80,7 +85,9 @@ const itemHelpers = {
Vue.prototype.$detachMeFromTeamFolder = function (folder) {
events.$emit('confirm:open', {
title: i18n.t('Are you sure you want to leave this team folder?'),
message: i18n.t("You will don't have access to the files and all your previously uploaded content will be part of this Team Folder you are leaving."),
message: i18n.t(
"You will don't have access to the files and all your previously uploaded content will be part of this Team Folder you are leaving."
),
action: {
id: folder.data.id,
operation: 'leave-team-folder',