Skip to content

Commit 28e325f

Browse files
authored
Merge branch 'main' into front/setting_page_theme
2 parents 41f24b2 + bbbedb7 commit 28e325f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/assistant/[assistantId]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
afterNavigate(({ from }) => {
1717
if (!from?.url.pathname.includes("settings")) {
18-
previousPage = from?.url.pathname || previousPage;
18+
previousPage = from?.url.toString() || previousPage;
1919
}
2020
});
2121

src/routes/settings/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
2626
afterNavigate(({ from }) => {
2727
if (!from?.url.pathname.includes("settings")) {
28-
previousPage = from?.url.pathname || previousPage;
28+
previousPage = from?.url.toString() || previousPage;
2929
}
3030
});
3131

0 commit comments

Comments
 (0)