Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(reservations): fixes errors not being displayed when reservation system returns error. removed translations applied twice. (#11144)

Stefan Plücken9b7a5ffdd1b2
diff --git a/react/features/authentication/actions.any.ts b/react/features/authentication/actions.any.ts
index 708c2c7aa1..c0867b7f79 100644
--- a/react/features/authentication/actions.any.ts
+++ b/react/features/authentication/actions.any.ts
@@ -98,7 +98,7 @@ function _upgradeRoleFinished(
name: authenticationError || connectionError,
...other
};
- progress = authenticationError ? 0.5 : 0;
+ progress = 0;
}
return {
diff --git a/react/features/authentication/components/web/LoginDialog.tsx b/react/features/authentication/components/web/LoginDialog.tsx
index 47623fc124..35a0f7f15a 100644
--- a/react/features/authentication/components/web/LoginDialog.tsx
+++ b/react/features/authentication/components/web/LoginDialog.tsx
@@ -207,7 +207,7 @@ class LoginDialog extends Component<IProps, IState> {
let messageKey;
if (progress && progress < 1) {
- messageKey = t('connection.FETCH_SESSION_ID');
+ messageKey = 'connection.FETCH_SESSION_ID';
} else if (error) {
const { name } = error;
@@ -218,14 +218,14 @@ class LoginDialog extends Component<IProps, IState> {
&& credentials.jid === toJid(username, configHosts ?? { authdomain: '',
domain: '' })
&& credentials.password === password) {
- messageKey = t('dialog.incorrectPassword');
+ messageKey = 'dialog.incorrectPassword';
}
} else if (name) {
- messageKey = t('dialog.connectErrorWithMsg');
+ messageKey = 'dialog.connectErrorWithMsg';
messageOptions.msg = `${name} ${error.message}`;
}
} else if (connecting) {
- messageKey = t('connection.CONNECTING');
+ messageKey = 'connection.CONNECTING';
}
if (messageKey) {