Remove deprecated scripts for adding head-matter to wt_config.xml, including Python and Bash implementations, to streamline configuration management.
This commit is contained in:
29
client/src/components/InboxView.vue
Normal file
29
client/src/components/InboxView.vue
Normal file
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<div class="inbox-list">
|
||||
<h2>{{ $t('menu_inbox') }}</h2>
|
||||
|
||||
<div v-if="chatStore.inboxResults.length === 0">
|
||||
<p>Keine ungelesenen Nachrichten.</p>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-for="item in chatStore.inboxResults"
|
||||
:key="item.userName"
|
||||
class="inbox-item"
|
||||
@click="selectUser(item.userName)"
|
||||
>
|
||||
{{ item.userName }} ({{ item.unreadCount }} ungelesen)
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useChatStore } from '../stores/chat';
|
||||
|
||||
const chatStore = useChatStore();
|
||||
|
||||
function selectUser(userName) {
|
||||
chatStore.requestConversation(userName);
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user