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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册