mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 04:01:42 +00:00
Open the correct doc on tracked change click in overview (#7622)
GitOrigin-RevId: 7bef9341c315f350c5428f8c94ce84cbc4f850c5
This commit is contained in:
parent
b70e63e893
commit
e096bf051a
3 changed files with 1 additions and 3 deletions
|
@ -208,7 +208,7 @@
|
|||
aggregate-change-entry(
|
||||
entry="entry"
|
||||
user="users[entry.metadata.user_id]"
|
||||
ng-click="gotoEntry(editor.open_doc_id, entry)"
|
||||
ng-click="gotoEntry(doc.doc.id, entry)"
|
||||
permissions="permissions"
|
||||
)
|
||||
|
||||
|
|
|
@ -134,7 +134,6 @@ export default App.controller(
|
|||
$timeout(() => $scope.$broadcast('review-panel:layout'))
|
||||
)
|
||||
|
||||
// TODO: unused?
|
||||
$scope.$on('review-panel:sizes', (e, sizes) =>
|
||||
$scope.$broadcast('editor:set-scroll-size', sizes)
|
||||
)
|
||||
|
|
|
@ -184,7 +184,6 @@ export default App.directive('reviewPanelSorted', $timeout => ({
|
|||
overflowTop = 0
|
||||
}
|
||||
|
||||
// TODO: unused?
|
||||
return scope.$emit('review-panel:sizes', {
|
||||
overflowTop,
|
||||
height: previousBottom + OVERVIEW_TOGGLE_HEIGHT,
|
||||
|
|
Loading…
Reference in a new issue