lang: window title updated

This commit is contained in:
AdrienLSH
2024-02-13 16:14:53 +01:00
parent 7f22a5c40b
commit 0a28bb5271
9 changed files with 21 additions and 16 deletions

View File

@ -1,10 +1,10 @@
import { client, lang, navigateTo } from "../../index.js";
import { client, navigateTo } from "../../index.js";
import AbstractAuthenticatedView from "../abstracts/AbstractAuthenticatedView.js";
export default class extends AbstractAuthenticatedView
{
constructor(params, lastPageUrl = '/login') {
super(params, lang.get('logoutWindowTitle', 'Logout'), lastPageUrl);
super(params, 'logoutWindowTitle', lastPageUrl);
this.lastPageUrl = lastPageUrl;
}