mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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:
parent
973e6f31d7
commit
a0393e14af
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue