mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #3501 from overleaf/ta-file-tree-linked
[ReactFileTree] Pass All attributes in entity:selected Event GitOrigin-RevId: c05864784618a0bfe6b5d9553c56513888c71156
This commit is contained in:
parent
8c7bf5fbd2
commit
2f178f3aa9
1 changed files with 1 additions and 1 deletions
|
@ -46,8 +46,8 @@ App.controller('ReactFileTreeController', function(
|
|||
const type =
|
||||
selectedEntity.type === 'fileRef' ? 'file' : selectedEntity.type
|
||||
$scope.$emit('entity:selected', {
|
||||
...selectedEntity.entity,
|
||||
id: selectedEntity.entity._id,
|
||||
name: selectedEntity.entity.name,
|
||||
type
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue