mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
88c13c8129
1 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,11 @@ interface Message {
|
|||
}
|
||||
|
||||
export async function processFreedataMessages(data) {
|
||||
if (typeof data !== "undefined" && typeof data.messages !== "undefined" && Array.isArray(data.messages)) {
|
||||
if (
|
||||
typeof data !== "undefined" &&
|
||||
typeof data.messages !== "undefined" &&
|
||||
Array.isArray(data.messages)
|
||||
) {
|
||||
chatStore.callsign_list = createCallsignListFromAPI(data);
|
||||
chatStore.sorted_chat_list = createSortedMessagesList(data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue