Skip to content

Commit

Permalink
[ACS-5645] different node open issu fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AnukritiGL committed Oct 16, 2023
1 parent 71af5c8 commit 7b8654c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/aca-content/src/lib/store/effects/node.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export class NodeEffects {
.subscribe((selection) => {
if (selection && !selection.isEmpty) {
const route = 'personal-files/details';
this.store.dispatch(new NavigateRouteAction([route, selection.first.entry.id, 'permissions']));
this.store.dispatch(new NavigateRouteAction([route, selection.last.entry.id, 'permissions']));
}
});
}
Expand Down Expand Up @@ -321,7 +321,7 @@ export class NodeEffects {
.subscribe((selection) => {
if (selection && !selection.isEmpty) {
const route = 'personal-files/details';
this.router.navigate([route, selection.first.entry.id], {
this.router.navigate([route, selection.last.entry.id], {
queryParams: {
location: this.router.url
}
Expand Down

0 comments on commit 7b8654c

Please sign in to comment.