fix: accounts: when logout go back to last page

This commit is contained in:
2024-02-13 15:52:46 +01:00
committed by AdrienLSH
parent 459cf11533
commit ebddae83f3
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) {
super(params, title, "/login");
constructor(params, title, uri = "/home") {
super(params, title, uri);
}
async redirect()