only show editor support buttons if support enabled

GitOrigin-RevId: 8b5cb3c08eefa89673e5f1f16ba98ab57cad4788
This commit is contained in:
Tim Alby
2019-12-02 13:28:15 +05:30
committed by sharelatex
parent 154f1c9235
commit eb13ceafd5
3 changed files with 17 additions and 10 deletions

View File

@@ -801,7 +801,8 @@ const ProjectController = {
Boolean(project.overleaf.history.display),
brandVariation,
allowedImageNames: Settings.allowedImageNames || [],
gitBridgePublicBaseUrl: Settings.gitBridgePublicBaseUrl
gitBridgePublicBaseUrl: Settings.gitBridgePublicBaseUrl,
showSupport: Features.hasFeature('support')
})
timer.done()
}