diff --git a/client/src/components/Workflow/Editor/Attributes.vue b/client/src/components/Workflow/Editor/Attributes.vue index b12ecccf30a..53e3b4be742 100644 --- a/client/src/components/Workflow/Editor/Attributes.vue +++ b/client/src/components/Workflow/Editor/Attributes.vue @@ -6,7 +6,7 @@
Name - +
Version @@ -115,6 +115,7 @@ export default { tagsCurrent: this.tags, versionCurrent: this.version, annotationCurrent: this.annotation, + nameCurrent: this.name, }; }, created() { @@ -163,8 +164,11 @@ export default { } this.creatorCurrent = creator; }, - annotation(newAnnotation) { - this.annotationCurrent = newAnnotation; + annotation() { + this.annotationCurrent = this.annotation; + }, + name() { + this.nameCurrent = this.name; }, }, methods: { @@ -172,10 +176,6 @@ export default { this.tagsCurrent = tags; this.onAttributes({ tags }); }, - onRename(name) { - this.onAttributes({ name }); - this.$emit("onRename", name); - }, onVersion() { this.$emit("onVersion", this.versionCurrent); }, diff --git a/client/src/components/Workflow/Editor/Index.vue b/client/src/components/Workflow/Editor/Index.vue index 9b496230545..837c3bbb88d 100644 --- a/client/src/components/Workflow/Editor/Index.vue +++ b/client/src/components/Workflow/Editor/Index.vue @@ -100,11 +100,12 @@