Add password reset localization and chat configuration
- Implemented German and English localization for password reset functionality. - Added WebSocket URL resolution logic in chat services to support various environments and configurations. - Created centralized chat configuration for event keys and payload mappings. - Developed RoomsView component for admin chat room management, including create, edit, and delete functionalities.
This commit is contained in:
@@ -68,13 +68,16 @@ export default {
|
||||
methods: {
|
||||
...mapActions(['login']),
|
||||
openRandomChat() {
|
||||
this.$refs.randomChatDialog.open();
|
||||
const dlg = this.$refs.randomChatDialog;
|
||||
if (dlg && typeof dlg.open === 'function') dlg.open();
|
||||
},
|
||||
openRegisterDialog() {
|
||||
this.$refs.registerDialog.open();
|
||||
const dlg = this.$refs.registerDialog;
|
||||
if (dlg && typeof dlg.open === 'function') dlg.open();
|
||||
},
|
||||
openPasswordResetDialog() {
|
||||
this.$refs.passwordResetDialog.open();
|
||||
const dlg = this.$refs.passwordResetDialog;
|
||||
if (dlg && typeof dlg.open === 'function') dlg.open();
|
||||
},
|
||||
focusPassword() {
|
||||
this.$refs.passwordInput.focus();
|
||||
|
||||
Reference in New Issue
Block a user