Bug fixed multiple notification when user leaves by the side menu and comes back on chat without logining out
This commit is contained in:
parent
0eba95a402
commit
91afd0ebde
3 changed files with 46 additions and 30 deletions
|
|
@ -196,7 +196,6 @@ export async function handleRoute() {
|
|||
return navigateTo(`/login?returnTo=${encodeURIComponent(window.location.pathname)}`)
|
||||
const app = document.getElementById('app')!;
|
||||
document.dispatchEvent(new CustomEvent('ft:pageChange' as any, {} as any) as any);
|
||||
document.dispatchEvent(new CustomEvent('ft:tabChange' as any, {} as any) as any);
|
||||
let ret = await executeRouteHandler(route_handler, window.location.pathname, args)
|
||||
app.innerHTML = ret.html;
|
||||
if (ret.postInsert) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue