frontend function consolidation part 2

This commit is contained in:
Peter Papp
2021-03-16 11:53:19 +01:00
parent adbe35e8b5
commit f0e9c80572
17 changed files with 368 additions and 66 deletions

View File

@@ -184,7 +184,7 @@ export default {
this.$store.dispatch('deleteItem')
},
createFolder() {
this.$store.dispatch('createFolder', this.$t('popup_create_folder.folder_default_name'))
this.$store.dispatch('createFolder', {name: this.$t('popup_create_folder.folder_default_name')})
},
moveItem() {
if (this.fileInfoDetail.length > 0)

View File

@@ -119,7 +119,7 @@
}
},
isLocked() {
return this.fileInfoDetail[0].shared.protected
return this.fileInfoDetail[0].shared.is_protected
}
},
methods: {