May receive data without uuid, check for it

This commit is contained in:
Mashintime 2023-07-04 12:04:54 -04:00
parent f1410e49af
commit 17926354e8

View file

@ -684,7 +684,7 @@ ipcRenderer.on("action-update-transmission-status", (event, arg) => {
document.getElementById("txtConnectedWithChat").textContent = data.dxcallsign;
console.log(data.status);
if (data.uuid !== "no-uuid") {
if (typeof data.uuid !== "undefined" || data.uuid !== "no-uuid") {
db.get(data.uuid, {
attachments: true,
})