Commit 995a8ee2 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Add plain prop of raw to first file on mount

parent 2fce0c86
...@@ -11,6 +11,7 @@ const RepoEditor = { ...@@ -11,6 +11,7 @@ const RepoEditor = {
Service.getRaw(this.activeFile.raw_path) Service.getRaw(this.activeFile.raw_path)
.then((rawResponse) => { .then((rawResponse) => {
Store.blobRaw = rawResponse.data; Store.blobRaw = rawResponse.data;
this.openedFiles[0].plain = rawResponse.data;
const monacoInstance = this.monaco.editor.create(this.$el, { const monacoInstance = this.monaco.editor.create(this.$el, {
model: null, 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