Skip to content

Commit

Permalink
configuration-logs: Remove redundant code
Browse files Browse the repository at this point in the history
Prevents updates on one part of the code that brakes the other that is not connected to it.
  • Loading branch information
rafaellehmkuhl committed Jun 27, 2024
1 parent cc812a5 commit ae75f54
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/views/ConfigurationLogsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,12 @@ const updateVariables = (): void => {
onMounted(updateVariables)
const otherAvailableLoggingElements = ['Mission name', 'Time', 'Date']
const loggedVariables = ref<string[]>([])
const originalLoggedVariables = ref<string[]>([])
const otherLoggingElements = ref<string[]>(['Mission name', 'Time', 'Date'])
const originalOtherLoggingElements = ref<string[]>(['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<number[]>([])
Expand Down Expand Up @@ -439,7 +441,7 @@ const resetAllChips = (): void => {
RightBottom: [],
}
otherLoggingElements.value = ['Mission name', 'Time', 'Date']
otherLoggingElements.value = otherAvailableLoggingElements
customMessageElements.value = [...customMessageElementsBackup, ...customMessageElements.value]
updateVariables()
}
Expand Down

0 comments on commit ae75f54

Please sign in to comment.