diff --git a/client/src/components/componentProperty.vue b/client/src/components/componentProperty.vue index acc84a68..9b4b5c94 100644 --- a/client/src/components/componentProperty.vue +++ b/client/src/components/componentProperty.vue @@ -840,8 +840,8 @@ export default { retryByJS() { this.copySelectedComponent.retryCondition = null; }, - "copySelectedComponent.host"(newValue, oldValue) { - if (newValue === "localhost" && !this.isBulkjobTask && !this.isStepjobTask && this.isStepjob) { + "copySelectedComponent.host"(newValue) { + if (newValue === "localhost" && this.isTask) { this.copySelectedComponent.useJobScheduler = false; } //Close remote file setting panel if changing to localhost diff --git a/client/src/components/fileBrowser.vue b/client/src/components/fileBrowser.vue index 89a5995f..a5f33a2a 100644 --- a/client/src/components/fileBrowser.vue +++ b/client/src/components/fileBrowser.vue @@ -257,7 +257,8 @@ export default { return !["for", "foreach", "workflow", "storage", "viewer"].includes(this.selectedComponent.type); }, dialogButtons() { - const isInvalid = this.dialog.inputField === "" || !this.noDuplicate(this.dialog.inputField); + const requiresInput = ["createNewDir", "createNewFile", "rename"].includes(this.dialog.submitEvent); + const isInvalid = requiresInput && (this.dialog.inputField === "" || !this.noDuplicate(this.dialog.inputField)); return [ { icon: "mdi-check", label: "ok", disabled: isInvalid }, { icon: "mdi-close", label: "cancel" } diff --git a/client/src/components/rapid/targetFiles.vue b/client/src/components/rapid/targetFiles.vue index f5e561da..c6b9b90a 100644 --- a/client/src/components/rapid/targetFiles.vue +++ b/client/src/components/rapid/targetFiles.vue @@ -62,7 +62,7 @@
-