From e1d478a4e0e7fdff74205949fb6c3cf76dcb3d55 Mon Sep 17 00:00:00 2001 From: Pedro Borges Date: Thu, 19 Sep 2024 09:05:51 -0300 Subject: [PATCH] Format --- packages/core/src/router.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/router.ts b/packages/core/src/router.ts index 0d4f40481..ae81de74c 100644 --- a/packages/core/src/router.ts +++ b/packages/core/src/router.ts @@ -474,6 +474,7 @@ export class Router { replace ? this.replaceState(page) : this.pushState(page) this.swapComponent({ component, page, preserveState }).then(() => { preserveScroll ? this.restoreScrollPositions() : this.resetScrollPositions() + if (!replace) { fireNavigateEvent(page) }