Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to mete to add barcode on click #14

Merged
merged 3 commits into from
Dec 8, 2023
Merged

Redirect to mete to add barcode on click #14

merged 3 commits into from
Dec 8, 2023

Conversation

fupduck
Copy link
Contributor

@fupduck fupduck commented Dec 6, 2023

Add the option to click on the warning that the barcode is not known, so that we can directly add it in mete.

To achieve this I added the url prop to Mete.vue.

NOTE: I had to cast this.$root to any - if you have better ideas please share!

I assume this is quite hacky - nicer approaches welcome.

And help wanted to fix the checks 🙃

To test this add this.addFromBarcode('asdf?!<'); to Register.vue's mounted function.

@m0ppers m0ppers merged commit 877070f into main Dec 8, 2023
1 of 4 checks passed
@m0ppers m0ppers deleted the add_new_barcode branch December 8, 2023 06:20
@m0ppers
Copy link
Member

m0ppers commented Dec 8, 2023

great! always wantend this ❤️ . I think the non hacky solution would be to emit an event from the register and then connect to that in App. but I like to have this feature ASAP 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants