Skip to content

Fix CI editor template not updating on commit

What does this MR do?

When the default content is loaded for the pipeline editor, there was an issue where changing the content of the file would not be saved when you commit. This was due to using a computed prop to store the content: if it was a new file, we were using the template, and if not, we were using the normal content. However when the user starts typing, it is still a new Ci config file, so the content was never properlyupdated in hte global store.

Screenshots (strongly suggested)

Before After
Screen_Recording_2021-06-14_at_3.03.55_PM editor_load

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports

Loading