fix: accounts: when logout go back to last page

This commit is contained in:
2024-02-13 15:52:46 +01:00
parent d59a3dc646
commit 9128c0bf38
6 changed files with 9 additions and 13 deletions

View File

@ -2,8 +2,8 @@ import { client, navigateTo } from "../../index.js";
import AbstractRedirectView from "./AbstractRedirectView.js";
export default class extends AbstractRedirectView{
constructor(params, title, url) {
super(params, title, url);
constructor(params, title, uri = "/home") {
super(params, title, uri);
}
async redirect()