update messages on click on chat

This commit is contained in:
DJ2LS 2024-01-28 12:36:54 +01:00
parent 1bbfa6f22b
commit 31363c9de2
2 changed files with 4 additions and 6 deletions

View file

@ -4,7 +4,7 @@ import chat_conversations from "./chat_conversations.vue";
import chat_messages from "./chat_messages.vue";
import chat_new_message from "./chat_new_message.vue";
//updateAllChat();
</script>
<template>

View file

@ -20,12 +20,9 @@ import infoScreen from "./infoScreen.vue";
import main_modem_healthcheck from "./main_modem_healthcheck.vue";
import Dynamic_components from "./dynamic_components.vue";
import { stopTransmission } from "../js/api";
import { getFreedataMessages } from "../js/api"
function stopAllTransmissions() {
console.log("stopping transmissions");
stopTransmission();
}
</script>
<template>
@ -75,6 +72,7 @@ function stopAllTransmissions() {
role="tab"
aria-controls="list-chat"
title="Chat"
@click="getFreedataMessages"
><i class="bi bi-chat-text h3"></i
></a>