Skip to content

Commit

Permalink
Fix the script content is lost after validation check (naver#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
imbyungjun authored Aug 29, 2022
1 parent f6d1ff3 commit 27bb11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngrinder-frontend/src/js/components/script/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
this.$http.post('/script/api/save', params)
.then(() => {
this.showSuccessMsg(this.i18n('common.message.alert.save.success'));
this.file.content = this.$refs.editor.getValue();
this.$refs.editor.codemirror.setValue(this.$refs.editor.getValue());
if (isClose) {
this.$router.push('/script/list/');
}
Expand Down

0 comments on commit 27bb11f

Please sign in to comment.