mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
update messages on click on chat
This commit is contained in:
parent
1bbfa6f22b
commit
31363c9de2
|
@ -4,7 +4,7 @@ import chat_conversations from "./chat_conversations.vue";
|
||||||
import chat_messages from "./chat_messages.vue";
|
import chat_messages from "./chat_messages.vue";
|
||||||
import chat_new_message from "./chat_new_message.vue";
|
import chat_new_message from "./chat_new_message.vue";
|
||||||
|
|
||||||
//updateAllChat();
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
@ -20,12 +20,9 @@ import infoScreen from "./infoScreen.vue";
|
||||||
import main_modem_healthcheck from "./main_modem_healthcheck.vue";
|
import main_modem_healthcheck from "./main_modem_healthcheck.vue";
|
||||||
import Dynamic_components from "./dynamic_components.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>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -75,6 +72,7 @@ function stopAllTransmissions() {
|
||||||
role="tab"
|
role="tab"
|
||||||
aria-controls="list-chat"
|
aria-controls="list-chat"
|
||||||
title="Chat"
|
title="Chat"
|
||||||
|
@click="getFreedataMessages"
|
||||||
><i class="bi bi-chat-text h3"></i
|
><i class="bi bi-chat-text h3"></i
|
||||||
></a>
|
></a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue