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