Skip to content

Commit

Permalink
Merge branch 'main' into front/setting_page_theme
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin authored Feb 6, 2024
2 parents 41f24b2 + bbbedb7 commit 28e325f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/assistant/[assistantId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
afterNavigate(({ from }) => {
if (!from?.url.pathname.includes("settings")) {
previousPage = from?.url.pathname || previousPage;
previousPage = from?.url.toString() || previousPage;
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/routes/settings/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
afterNavigate(({ from }) => {
if (!from?.url.pathname.includes("settings")) {
previousPage = from?.url.pathname || previousPage;
previousPage = from?.url.toString() || previousPage;
}
});
Expand Down

0 comments on commit 28e325f

Please sign in to comment.