mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-03 20:53:40 +00:00
Move the __enableTokenAccessUI
state to top level
This commit is contained in:
parent
5fe5125a5c
commit
a3e5788b97
2 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue