mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 07:00:47 +02:00
Don't show review panel if user doesn't have track changes
This commit is contained in:
@@ -41,6 +41,11 @@ define [
|
||||
|
||||
$scope.$watch "ui.pdfLayout", (layout) ->
|
||||
$scope.reviewPanel.layoutToLeft = (layout == "flat")
|
||||
|
||||
$scope.$watch "project.features.trackChangesVisible", (visible) ->
|
||||
return if !visible?
|
||||
if !visible
|
||||
$scope.ui.reviewPanelOpen = false
|
||||
|
||||
$scope.commentState =
|
||||
adding: false
|
||||
|
||||
Reference in New Issue
Block a user