mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
small chat cleanup
This commit is contained in:
parent
819bda5963
commit
ea4dfba4c6
|
@ -671,24 +671,12 @@ 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-clear-reception-status", (event) => {
|
||||
//Clear connected with textbox
|
||||
let cwc = document.getElementById("txtConnectedWithChat");
|
||||
if (cwc.textContent != "------") {
|
||||
cwc.textContent = "------";
|
||||
//console.log("Reseting connected with");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
ipcRenderer.on("action-update-transmission-status", (event, arg) => {
|
||||
var data = arg["data"][0];
|
||||
|
||||
document.getElementById("txtConnectedWithChat").textContent = data.dxcallsign;
|
||||
if (data.status == "opening") return;
|
||||
if (typeof data.uuid === undefined) return;
|
||||
|
||||
|
|
|
@ -1549,14 +1549,7 @@
|
|||
</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>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue