Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
DJ2LS 2024-02-07 23:04:00 +01:00
commit 88c13c8129

View file

@ -26,7 +26,11 @@ interface Message {
} }
export async function processFreedataMessages(data) { 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.callsign_list = createCallsignListFromAPI(data);
chatStore.sorted_chat_list = createSortedMessagesList(data); chatStore.sorted_chat_list = createSortedMessagesList(data);
} }