Skip to content

Commit

Permalink
Cast to any
Browse files Browse the repository at this point in the history
  • Loading branch information
fupduck committed Dec 6, 2023
1 parent 0ddfaa6 commit 16aafb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default defineComponent({
title: "Unbekannter Barcode!",
message: `Klicke hier um den Barcode ${barcode} im Administrationsbereich zu hinterlegen!`,
type: "warning",
onClick:($event: Event) => { this.$root.addNewBarCode($event, barcode); }
onClick:($event: Event) => { (this.$root as any)?.addNewBarCode($event, barcode); }
});
}
},
Expand Down

0 comments on commit 16aafb7

Please sign in to comment.