Store previous page globally from beforeNavigate

This commit is contained in:
2022-06-13 14:21:23 +02:00
parent 9a63338c92
commit 622e304efa
2 changed files with 4 additions and 5 deletions

View File

@@ -66,7 +66,7 @@
}
// Define previous URL
$: previousUrl = $previousPage ? $previousPage : `/${location.country.slug}/${location.slug}`
$: previousUrl = $previousPage ?? `/${location.country.slug}/${location.slug}`
/**