We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc4ba41 commit 6773670Copy full SHA for 6773670
vue-frontend/warehouse-frontend/src/views/ParentPage.vue
@@ -74,6 +74,10 @@ export default {
74
goBack(){
75
this.closeModal();
76
this.$router.push("/");
77
+ },
78
+ endSession(){
79
+ localStorage.removeItem('mode');
80
+ this.$router.push("/");
81
}
82
83
};
@@ -240,7 +244,7 @@ function playSuccessSound(){
240
244
<div class="footer d-flex w-100">
241
245
<div class="container d-flex justify-content-end">
242
246
<!-- <button class="btn btn-primary me-2">Cancel</button>-->
243
- <button class="btn btn-primary">Finish scanning</button>
247
+ <button class="btn btn-primary" @click="endSession">Finish scanning</button>
248
</div>
249
250
0 commit comments