mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
ignore empty input, trim node name
This commit is contained in:
parent
c705c8af98
commit
05023a0843
|
@ -57,7 +57,10 @@ export default Vue.extend({
|
|||
});
|
||||
},
|
||||
onRename() {
|
||||
this.$emit('input', this.newName);
|
||||
if (this.newName.trim() !== '') {
|
||||
this.$emit('input', this.newName.trim());
|
||||
}
|
||||
|
||||
this.editName = false;
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue