Skip to content

Commit 131f1a2

Browse files
fix(front): Added isRendered to false state when switch yml tabs (#277)
## 📝 Description Added isRendered to false for the YamlEditor be able to rerendered. Issue: #276 Tests are all green: ![image](https://github.com/user-attachments/assets/11568fb7-9dbf-492a-a976-ba748d724827) ## ✅ Checklist - [ ] I have tested this change - [ ] This change requires documentation update Co-authored-by: Veljko Maksimovic <[email protected]>
1 parent f588ddd commit 131f1a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

front/assets/js/workflow_editor/components/monaco_code_editor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export class MonacoCodeEditor {
4949
this.activePipeline = pipeline;
5050

5151
this.state.value = pipeline.toYaml();
52+
this.isRendered = false;
5253
this.renderEditor();
5354
}
5455

0 commit comments

Comments
 (0)