mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
show connected station in chat
This commit is contained in:
parent
ded3b42398
commit
b6edd073b2
|
@ -454,6 +454,8 @@ ipcMain.on("request-update-transmission-status", (event, arg) => {
|
|||
|
||||
ipcMain.on("request-update-reception-status", (event, arg) => {
|
||||
win.webContents.send("action-update-reception-status", arg);
|
||||
chat.webContents.send("action-update-reception-status", arg);
|
||||
|
||||
});
|
||||
|
||||
ipcMain.on("request-open-tnc-log", () => {
|
||||
|
|
|
@ -661,8 +661,18 @@ ipcRenderer.on("return-select-user-image", (event, arg) => {
|
|||
});
|
||||
});
|
||||
|
||||
ipcRenderer.on("action-update-reception-status", (event, arg) => {
|
||||
var data = arg["data"][0];
|
||||
|
||||
document.getElementById("txtConnectedWithChat").textContent = data.dxcallsign;
|
||||
});
|
||||
|
||||
|
||||
ipcRenderer.on("action-update-transmission-status", (event, arg) => {
|
||||
var data = arg["data"][0];
|
||||
|
||||
document.getElementById("txtConnectedWithChat").textContent = data.dxcallsign;
|
||||
|
||||
console.log(data.status);
|
||||
if (data.uuid !== "no-uuid") {
|
||||
db.get(data.uuid, {
|
||||
|
|
|
@ -264,7 +264,18 @@
|
|||
Help
|
||||
</button>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<span
|
||||
class="input-group-text ms-2"
|
||||
id="txtConnectedWithChat"
|
||||
data-bs-toggle="tooltip"
|
||||
data-bs-trigger="hover"
|
||||
title="Connected with"
|
||||
>------</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue