Re-work space navigation #223
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import {page} from "$app/stores"
|
||||
|
||||
export const lastPageBySpaceUrl = new Map<string, string>()
|
||||
|
||||
export const setupHistory = () => {
|
||||
page.subscribe($page => {
|
||||
if ($page.params.relay) {
|
||||
lastPageBySpaceUrl.set($page.params.relay, $page.url.pathname)
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user