Commit 4e532a15 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

[ci skip] WIP remove newContent/plain handle in setActiveFiles

parent 5c9eacd8
...@@ -95,8 +95,6 @@ const RepoStore = { ...@@ -95,8 +95,6 @@ const RepoStore = {
if (file.binary) { if (file.binary) {
RepoStore.blobRaw = file.base64; RepoStore.blobRaw = file.base64;
RepoStore.binaryMimeType = file.mime_type; RepoStore.binaryMimeType = file.mime_type;
} else {
RepoStore.blobRaw = file.newContent || file.plain;
} }
if (!file.loading) RepoHelper.toURL(file.url, file.name); if (!file.loading) RepoHelper.toURL(file.url, file.name);
...@@ -213,7 +211,6 @@ const RepoStore = { ...@@ -213,7 +211,6 @@ const RepoStore = {
}, },
toggleBlobView() { toggleBlobView() {
console.log('toggleBlobView');
RepoStore.currentBlobView = RepoStore.currentBlobView === 'preview' ? 'repo-editor' : 'preview'; RepoStore.currentBlobView = RepoStore.currentBlobView === 'preview' ? 'repo-editor' : 'preview';
}, },
......
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