Fix hard coded path

file-group-page
bat 3 years ago
parent 3b3fcac3f6
commit ba143a08e1

@ -47,7 +47,10 @@ export class Layout extends HTMLElement {
}
get path() {
return '/hello'
return new URL(
window.location.hash.slice(1) || '/',
window.location
).pathname
}
set editing(value) {

Loading…
Cancel
Save