diff --git a/freedata_gui/package.json b/freedata_gui/package.json index a80754af..96cad513 100644 --- a/freedata_gui/package.json +++ b/freedata_gui/package.json @@ -2,7 +2,7 @@ "name": "FreeDATA", "description": "FreeDATA Client application for connecting to FreeDATA server", "private": true, - "version": "0.15.5-alpha", + "version": "0.15.6-alpha", "main": "dist-electron/main/index.js", "scripts": { "start": "vite", diff --git a/freedata_gui/src/components/chat.vue b/freedata_gui/src/components/chat.vue index 760939b4..5cfe607e 100644 --- a/freedata_gui/src/components/chat.vue +++ b/freedata_gui/src/components/chat.vue @@ -6,6 +6,8 @@ import chat_conversations from "./chat_conversations.vue"; import chat_messages from "./chat_messages.vue"; import chat_new_message from "./chat_new_message.vue"; +import {getStationInfo} from "./../js/api"; + import { setActivePinia } from "pinia"; import pinia from "../store/index"; setActivePinia(pinia); @@ -115,9 +117,62 @@ watch( }); }, ); + +const stationInfo = ref({}); +async function getStationInfoByCallsign(){ + stationInfo.value = await getStationInfo(chat.selectedCallsign); +} + +