fix(core): navigatingToEvent allows access to resolvedPage now (#9954)

BREAKING CHANGE:

When using `navigatingToEvent` event.entry, the `backstackEntry` object is now returned which has an `entry` property on it if you still need it.
This commit is contained in:
farfromrefuge
2022-07-09 18:06:12 +02:00
committed by Nathan Walker
parent f49e412660
commit 38142a6aeb

View File

@ -427,8 +427,8 @@ export class FrameBase extends CustomLayoutView {
eventName: Page.navigatingToEvent,
object: this,
isBack,
entry: backstackEntry.entry,
fromEntry: this.currentEntry,
entry: backstackEntry,
fromEntry: this._currentEntry,
});
}