diff --git a/src/views/ConfigurationLogsView.vue b/src/views/ConfigurationLogsView.vue index 9058dde21..c879ca24e 100644 --- a/src/views/ConfigurationLogsView.vue +++ b/src/views/ConfigurationLogsView.vue @@ -322,10 +322,12 @@ const updateVariables = (): void => { onMounted(updateVariables) +const otherAvailableLoggingElements = ['Mission name', 'Time', 'Date'] + const loggedVariables = ref([]) const originalLoggedVariables = ref([]) -const otherLoggingElements = ref(['Mission name', 'Time', 'Date']) -const originalOtherLoggingElements = ref(['Mission name', 'Time', 'Date']) +const otherLoggingElements = ref(otherAvailableLoggingElements) +const originalOtherLoggingElements = ref(otherAvailableLoggingElements) const newFrequency = ref(1000 / datalogger.logInterval.value) const selectedTab = ref('telemetry') const variablesPanel = ref([]) @@ -440,7 +442,7 @@ const resetAllChips = (): void => { RightBottom: [], } - otherLoggingElements.value = ['Mission name', 'Time', 'Date'] + otherLoggingElements.value = otherAvailableLoggingElements customMessageElements.value = [...customMessageElementsBackup, ...customMessageElements.value] updateVariables() }