Skip to content

Commit fc1f338

Browse files
committed
feat: add reset all button to general configuration
1 parent 5e8556f commit fc1f338

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/components/calibration/GeneralConfigCard.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<Radius />
2323
<Offset />
2424
</div>
25+
<v-card-actions>
26+
<v-spacer></v-spacer>
27+
<v-btn color="error" @click="resetAllValues">Reset All</v-btn>
28+
</v-card-actions>
2529
</v-card>
2630
</v-col>
2731
</v-container>
@@ -81,6 +85,9 @@ export default {
8185
},
8286
updateMsPerCapture(value) {
8387
this.$store.commit('setMsPerCapture', value);
88+
},
89+
resetAllValues() {
90+
this.$store.commit('resetAll');
8491
}
8592
},
8693
};

0 commit comments

Comments
 (0)