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:
@@ -11,13 +11,14 @@
|
||||
@ok="handleOk"
|
||||
name="DataPrivacyDialog"
|
||||
>
|
||||
<div v-html="dataPrivacyContent"></div>
|
||||
<div v-html="sanitizedContent"></div>
|
||||
</DialogWidget>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import DialogWidget from '../../components/DialogWidget.vue';
|
||||
import content from '../../content/content.js';
|
||||
import DOMPurify from 'dompurify';
|
||||
|
||||
export default {
|
||||
name: 'DataPrivacyDialog',
|
||||
@@ -29,6 +30,11 @@ export default {
|
||||
dataPrivacyContent: content.dataPrivacy[this.$i18n.locale]
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
sanitizedContent() {
|
||||
return DOMPurify.sanitize(this.dataPrivacyContent);
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$i18n.locale'(newLocale) {
|
||||
this.dataPrivacyContent = content.dataPrivacy[newLocale];
|
||||
|
||||
Reference in New Issue
Block a user