Skip to content

Commit

Permalink
fix responsebodydiff not fresh when change flow detail
Browse files Browse the repository at this point in the history
  • Loading branch information
noO0oOo0ob committed Dec 8, 2023
1 parent 2a7606b commit b285264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/CodeDiffEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export default {
console.debug("Code diff editor: content change");
if (this.editor) {
this.editor.setModel({
original: monaco.editor.createModel(this.content, this.language),
modified: monaco.editor.createModel(this.diffContent, this.language)
original: monaco.editor.createModel(this.content.respData, this.language),
modified: monaco.editor.createModel(this.diffContent.content, this.language)
});
}
Expand Down

0 comments on commit b285264

Please sign in to comment.