Loading vospace-ui-frontend/src/components/Main.vue +5 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ <div class="mb-3"> <b-button variant="success" class="mr-2" :disabled="!writable" v-b-modal.create-folder-modal>New folder</b-button> <b-button variant="success" class="mr-2" :disabled="!writable" v-b-modal.upload-files-modal>Upload files</b-button> <b-dropdown variant="primary" text="Actions" v-if="asyncButtonEnabled || deleteButtonEnabled || archiveButtonEnabled"> <b-dropdown variant="primary" text="Actions" v-if="actionsEnabled"> <b-dropdown-item :disabled="!asyncButtonEnabled" @click="startAsyncRecallJob">Async recall</b-dropdown-item> <b-dropdown-item :disabled="!deleteButtonEnabled" @click="deleteNodes">Delete</b-dropdown-item> <b-dropdown-item :disabled="!archiveButtonEnabled" @click="createArchive('zip')">Create zip archive</b-dropdown-item> Loading Loading @@ -88,6 +88,10 @@ export default { } return items; }, actionsEnabled() { return this.$store.state.user !== 'anonymous' && (this.asyncButtonEnabled || this.deleteButtonEnabled || this.archiveButtonEnabled); }, asyncButtonEnabled() { return this.$store.state.asyncButtonEnabled; }, Loading Loading
vospace-ui-frontend/src/components/Main.vue +5 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ <div class="mb-3"> <b-button variant="success" class="mr-2" :disabled="!writable" v-b-modal.create-folder-modal>New folder</b-button> <b-button variant="success" class="mr-2" :disabled="!writable" v-b-modal.upload-files-modal>Upload files</b-button> <b-dropdown variant="primary" text="Actions" v-if="asyncButtonEnabled || deleteButtonEnabled || archiveButtonEnabled"> <b-dropdown variant="primary" text="Actions" v-if="actionsEnabled"> <b-dropdown-item :disabled="!asyncButtonEnabled" @click="startAsyncRecallJob">Async recall</b-dropdown-item> <b-dropdown-item :disabled="!deleteButtonEnabled" @click="deleteNodes">Delete</b-dropdown-item> <b-dropdown-item :disabled="!archiveButtonEnabled" @click="createArchive('zip')">Create zip archive</b-dropdown-item> Loading Loading @@ -88,6 +88,10 @@ export default { } return items; }, actionsEnabled() { return this.$store.state.user !== 'anonymous' && (this.asyncButtonEnabled || this.deleteButtonEnabled || this.archiveButtonEnabled); }, asyncButtonEnabled() { return this.$store.state.asyncButtonEnabled; }, Loading