forked from andyburke/autonomous.contact
refactor: first pass on getting the client back into working order
(still broken, but loading as a baseline)
This commit is contained in:
parent
a5707e2f81
commit
afeb6f75e8
23 changed files with 358 additions and 322 deletions
|
|
@ -14,7 +14,7 @@
|
|||
const tab_selector = event.target;
|
||||
const view = tab_selector.dataset.view;
|
||||
if (view) {
|
||||
window.location.hash = `/topic/${document.body.dataset.topic}/${view}`;
|
||||
window.location.hash = `/${view}${ document.body.dataset.channel ? `/channel/${ document.body.dataset.channel }` : '' }`;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue