mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #3870 from overleaf/ae-project-tokens
Fix applying new link sharing tokens to scoped project data in React Share modal GitOrigin-RevId: 8234e836b5d7301896b877748461911180c81a72
This commit is contained in:
@@ -35,8 +35,9 @@ export default App.controller('ReactShareProjectModalController', function(
|
||||
|
||||
ide.socket.on('project:tokens:changed', data => {
|
||||
if (data.tokens != null) {
|
||||
ide.$scope.project.tokens = data.tokens
|
||||
$scope.$digest()
|
||||
$scope.$applyAsync(() => {
|
||||
$scope.project.tokens = data.tokens
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user