FreeDATA/gui_vue/src/components/chat_conversations.vue

38 lines
1,001 B
Vue
Raw Normal View History

2023-09-12 15:52:16 +00:00
<script setup lang="ts">
import {saveSettingsToFile} from '../js/settingsHandler';
import { setActivePinia } from 'pinia';
import pinia from '../store/index';
setActivePinia(pinia);
import { useSettingsStore } from '../store/settingsStore.js';
const settings = useSettingsStore(pinia);
import { useStateStore } from '../store/stateStore.js';
const state = useStateStore(pinia);
import { useChatStore } from '../store/chatStore.js';
const chat = useChatStore(pinia);
import chat_conversations_entry from './chat_conversations_entry.vue'
</script>
<template>
<div class="list-group" id="chat-list-tab" role="chat-tablist">
<template v-for="item in chat.callsign_list" :key="item.dxcallsign">
2023-09-12 15:52:16 +00:00
<a class="list-group-item list-group-item-action" :id="`list-chat-list-${item}`" data-bs-toggle="list" :href="`#list-${item}-messages`" role="tab" aria-controls="list-{{item}}-messages">{{item}}</a>
</template>
<!--<chat_conversations_entry/>-->
</div>
</template>