Skip to content

Commit

Permalink
editor: add URL parameters support
Browse files Browse the repository at this point in the history
- Allows to navigate with a full URL after an edition or creation.

Co-Authored-by: Johnny Mariéthoz <[email protected]>
  • Loading branch information
jma committed Jul 29, 2024
1 parent 4b2e509 commit e3a4402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/rero/ng-core/src/lib/record/record-ui.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class RecordUiService {
if (config.redirectUrl) {
config.redirectUrl(record, action).subscribe((result: string) => {
if (result !== null) {
this.router.navigate([result]);
this.router.navigateByUrl(result);
return;
}
});
Expand Down

0 comments on commit e3a4402

Please sign in to comment.