diff --git a/gui_vue/src/components/chat_conversations.vue b/gui_vue/src/components/chat_conversations.vue index 76f6cff7..3ad3bde6 100644 --- a/gui_vue/src/components/chat_conversations.vue +++ b/gui_vue/src/components/chat_conversations.vue @@ -32,9 +32,26 @@ function chatSelected(callsign){ var messageBody = document.getElementById("message-container"); messageBody.scrollTop = messageBody.scrollHeight - messageBody.clientHeight; + console.log(chat.sorted_beacon_list[chat.selectedCallsign]) + console.log(chat.selectedCallsign) + try{ + chat.beaconLabelArray = Object.values(chat.sorted_beacon_list[chat.selectedCallsign].timestamp) + chat.beaconDataArray = Object.values(chat.sorted_beacon_list[chat.selectedCallsign].snr) + } catch(e){ + console.log("beacon data not fetched: " + e) + chat.beaconLabelArray = [] + chat.beaconDataArray = [] + } + + console.log(chat.beaconDataArray) + + + } + +