BigW Consortium Gitlab

Add plain prop of raw to first file on mount

parent 2fce0c86
......@@ -11,6 +11,7 @@ const RepoEditor = {
Service.getRaw(this.activeFile.raw_path)
.then((rawResponse) => {
Store.blobRaw = rawResponse.data;
this.openedFiles[0].plain = rawResponse.data;
const monacoInstance = this.monaco.editor.create(this.$el, {
model: null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment