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 26, 2024
1 parent 82e4fd7 commit 4719da5
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 @@ -322,10 +322,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 @@ -440,7 +442,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 4719da5

Please sign in to comment.