Separate cases of setting Guest TC in general, and for this user

This commit is contained in:
Shane Kilkelly 2017-11-03 11:11:04 +00:00
parent bd8765a75f
commit 3360688752

View file

@ -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 = {}