Merge pull request #3952 from overleaf/revert-cmg-binary-file

Revert "Merge pull request #3526 from overleaf/cmg-binary-file"

GitOrigin-RevId: 5f539f26992fefd01b07922b1f43a3a3bc753141
This commit is contained in:
Chrystal Maria Griffiths
2021-04-24 02:10:12 +00:00
committed by Copybot
parent 1186c3e9a4
commit 4e9d7c36ff
21 changed files with 9 additions and 1053 deletions
@@ -865,9 +865,7 @@ const ProjectController = {
showReactFileTree: !wantsOldFileTreeUI,
showReactShareModal: !wantsOldShareModalUI,
showReactAddFilesModal: !wantsOldAddFilesModalUI,
showReactGithubSync: !wantsOldGithubSyncUI && user.alphaProgram,
showNewBinaryFileUI:
req.query && req.query.new_binary_file === 'true'
showReactGithubSync: !wantsOldGithubSyncUI && user.alphaProgram
})
timer.done()
}
+1 -5
View File
@@ -108,11 +108,7 @@ block content
.ui-layout-center
include ./editor/editor
if showNewBinaryFileUI
include ./editor/binary-file-react
else
include ./editor/binary-file
include ./editor/binary-file
include ./editor/history
if !isRestrictedTokenMember
@@ -1,9 +0,0 @@
div(
ng-controller="ReactBinaryFileController"
ng-show="ui.view == 'file'"
ng-if="openFile"
)
binary-file(
file='file'
store-references-keys='storeReferencesKeys'
)