Trigger an angular digest after updating vars

This commit is contained in:
Shane Kilkelly 2017-11-03 11:10:42 +00:00
parent e64e388913
commit bd8765a75f

View file

@ -85,8 +85,10 @@ define [
# TODO: remove after rollout and testing
window.turnOnTokenAccessUI = () ->
$scope.__enableTokenAccessUI = true
$scope.$digest
window.turnOffTokenAccessUI = () ->
$scope.__enableTokenAccessUI = false
$scope.$digest
$scope.$watch "project.features.trackChangesVisible", (visible) ->
return if !visible?