diff --git a/gui/src/js/messagesHandler.ts b/gui/src/js/messagesHandler.ts index 1118eba9..e3647431 100644 --- a/gui/src/js/messagesHandler.ts +++ b/gui/src/js/messagesHandler.ts @@ -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); }