diff --git a/services/web/public/coffee/ide.coffee b/services/web/public/coffee/ide.coffee index cc94fe6e9e..a298f3732b 100644 --- a/services/web/public/coffee/ide.coffee +++ b/services/web/public/coffee/ide.coffee @@ -75,6 +75,7 @@ define [ miniReviewPanelVisible: false } $scope.user = window.user + $scope.__enableTokenAccessUI = window.enableTokenAccessUI == true $scope.$watch "project.features.trackChangesVisible", (visible) -> return if !visible? diff --git a/services/web/public/coffee/ide/share/controllers/ShareController.coffee b/services/web/public/coffee/ide/share/controllers/ShareController.coffee index 5e4518b5fa..b4a1d7652b 100644 --- a/services/web/public/coffee/ide/share/controllers/ShareController.coffee +++ b/services/web/public/coffee/ide/share/controllers/ShareController.coffee @@ -3,7 +3,6 @@ define [ ], (App) -> App.controller "ShareController", ["$scope", "$modal", "ide", "projectInvites", "projectMembers", "event_tracking", ($scope, $modal, ide, projectInvites, projectMembers, event_tracking) -> - $scope.__enableTokenAccessUI = window.enableTokenAccessUI == true $scope.openShareProjectModal = () -> event_tracking.sendMBOnce "ide-open-share-modal-once"