Browse Source

barcode reset

hmt 4 năm trước cách đây
mục cha
commit
b0fb246886
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/components/Scanner.svelte

+ 1 - 0
src/components/Scanner.svelte

@@ -22,6 +22,7 @@
 
   function handle_keydown(event) {
     if (event.key === 'Escape') {
+      barcode = ''
       barcode_manuell = !barcode_manuell
     }
     if (barcode_manuell) return