bulk-operations v0.1 mobileSeleting finished, change FileFullPreview code

This commit is contained in:
Milos Holba
2020-11-16 17:57:43 +01:00
parent 26132e23a3
commit 9d9e07d0fa
19 changed files with 438 additions and 143 deletions

View File

@@ -149,7 +149,11 @@ export default {
return this.FilePreviewType === "list" ? "th" : "th-list";
},
canCreateFolderInView() {
return !this.$isThisLocation(["base", "public"]);
let location = !this.$isThisLocation(["base", "public"]);
if(location || this.fileInfoDetail.length >1) {
return true
}
},
canDeleteInView() {
return !this.$isThisLocation([
@@ -163,7 +167,10 @@ export default {
]);
},
canUploadInView() {
return !this.$isThisLocation(["base", "public"]);
let location = !this.$isThisLocation(["base", "public"]);
if(location || this.fileInfoDetail.length >1) {
return true
}
},
canMoveInView() {
return !this.$isThisLocation([