mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Use correct flag for determining mini panel visibility
This commit is contained in:
parent
f840a20f5c
commit
bf5f5f832d
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ define [
|
||||||
entries = $scope.reviewPanel.entries[$scope.editor.open_doc_id] or {}
|
entries = $scope.reviewPanel.entries[$scope.editor.open_doc_id] or {}
|
||||||
Object.keys(entries).length
|
Object.keys(entries).length
|
||||||
), (nEntries) ->
|
), (nEntries) ->
|
||||||
$scope.reviewPanel.hasEntries = nEntries > 0 and $scope.project.features.trackChanges
|
$scope.reviewPanel.hasEntries = nEntries > 0 and $scope.project.features.trackChangesVisible
|
||||||
|
|
||||||
$scope.$watch "ui.reviewPanelOpen", (reviewPanelOpen) ->
|
$scope.$watch "ui.reviewPanelOpen", (reviewPanelOpen) ->
|
||||||
return if !reviewPanelOpen?
|
return if !reviewPanelOpen?
|
||||||
|
|
Loading…
Reference in a new issue