available create folder and upload files at multi selecting

This commit is contained in:
Milos Holba
2020-12-05 17:46:22 +01:00
parent 0da525f692
commit 5d512f7806
2 changed files with 5 additions and 8 deletions

View File

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