mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Login now shows "beta" when playing on beta
This commit is contained in:
parent
2bf8acea06
commit
df1c38631b
@ -73,7 +73,11 @@ export default class LoginFormUiHandler extends FormModalUiHandler {
|
||||
}
|
||||
|
||||
override getModalTitle(_config?: ModalConfig): string {
|
||||
return i18next.t("menu:login");
|
||||
let key = "menu:login";
|
||||
if (import.meta.env.VITE_SERVER_URL === "https://apibeta.pokerogue.net") {
|
||||
key = "menu:loginBeta";
|
||||
}
|
||||
return i18next.t(key);
|
||||
}
|
||||
|
||||
override getWidth(_config?: ModalConfig): number {
|
||||
|
Loading…
Reference in New Issue
Block a user