Skip to content

Commit

Permalink
Change calculation auto clear result
Browse files Browse the repository at this point in the history
  • Loading branch information
Xrondev committed Apr 1, 2024
1 parent e11bdc6 commit a50ef8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/MainDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ const calculate = () => {
}
}
store.$subscribe((mutation, state) => {
data.value = 0
})
const getName = computed(() => {
if (store.selectedCalculation !== null) {
return store.selectedCalculation.name
Expand Down

0 comments on commit a50ef8c

Please sign in to comment.