Commit 07a23e86 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

[ci skip] WIP Remove unneeded data.binary setting in getContent branches

parent 4e532a15
...@@ -165,11 +165,8 @@ const RepoHelper = { ...@@ -165,11 +165,8 @@ const RepoHelper = {
// file might be undefined // file might be undefined
const rawUrl = RepoHelper.getRawURLFromBlobURL(file.url || Service.url); const rawUrl = RepoHelper.getRawURLFromBlobURL(file.url || Service.url);
RepoHelper.setBinaryDataAsBase64(rawUrl, data); RepoHelper.setBinaryDataAsBase64(rawUrl, data);
data.binary = true;
Store.currentBlobView = 'preview'; Store.currentBlobView = 'preview';
} else { } else {
data.binary = false;
if (Store.currentBlobView !== 'preview') { if (Store.currentBlobView !== 'preview') {
Service.getRaw(data.raw_path) Service.getRaw(data.raw_path)
.then((rawResponse) => { .then((rawResponse) => {
......
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