mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fix selected callsign missiing
This commit is contained in:
parent
b619e8506a
commit
d50b3b4db7
|
@ -48,6 +48,13 @@ const chatModuleMessage=ref(null);
|
||||||
|
|
||||||
function transmitNewMessage(){
|
function transmitNewMessage(){
|
||||||
|
|
||||||
|
|
||||||
|
// if no callsign is selected, assume we are using the first one..
|
||||||
|
if(typeof(chat.selectedCallsign) == 'undefined'){
|
||||||
|
chat.selectedCallsign = Object.keys(chat.callsign_list)[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
chat.inputText = chat.inputText.trim();
|
chat.inputText = chat.inputText.trim();
|
||||||
if (chat.inputText.length==0 && chat.inputFileName == "-")
|
if (chat.inputText.length==0 && chat.inputFileName == "-")
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -127,7 +127,7 @@ switch (data["message-db"]) {
|
||||||
getSerialDevices();
|
getSerialDevices();
|
||||||
getFreedataMessages();
|
getFreedataMessages();
|
||||||
processFreedataMessages();
|
processFreedataMessages();
|
||||||
chat.selectedCallsign = chatStore.callsign_list[0]
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case "arq":
|
case "arq":
|
||||||
|
|
Loading…
Reference in a new issue