mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Separate cases of setting Guest TC in general, and for this user
This commit is contained in:
parent
bd8765a75f
commit
3360688752
1 changed files with 3 additions and 2 deletions
|
@ -640,8 +640,9 @@ define [
|
|||
_setUserTCState(ide.$scope.user.id, newValue, isLocal)
|
||||
else
|
||||
$scope.reviewPanel.trackChangesOnForGuests = false
|
||||
$scope.trackChangesOnForThisGuestClient = false
|
||||
_setUserTCState(ide.$scope.user.id, false, isLocal)
|
||||
if $scope.isTokenMember
|
||||
$scope.trackChangesOnForThisGuestClient = false
|
||||
_setUserTCState(ide.$scope.user.id, false, isLocal)
|
||||
|
||||
applyClientTrackChangesStateToServer = () ->
|
||||
data = {}
|
||||
|
|
Loading…
Reference in a new issue