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

fix: script error on AppMacroBtn click #924

Merged

Conversation

pedrolamas
Copy link
Member

@pedrolamas pedrolamas commented Oct 25, 2022

Fixes an error where clicking a macro button shows an error message:

image

The reason for the error is that $listeners already has a click event from the Macros.vue, so we need to remove/override it, which is what this change does.

Context: https://v2.vuejs.org/v2/guide/components-custom-events.html#Binding-Native-Events-to-Components

This issue was introduced by the changes in #915

Signed-off-by: Pedro Lamas [email protected]

@pedrolamas pedrolamas added the GH - Bug Something isn't working label Oct 25, 2022
@pedrolamas pedrolamas added this to the 1.21.1 milestone Oct 25, 2022
@pedrolamas pedrolamas requested review from matmen and kerbilg October 25, 2022 11:33
@pedrolamas pedrolamas merged commit 93b3d34 into fluidd-core:develop Oct 25, 2022
@pedrolamas pedrolamas deleted the pedrolamas/fix-macro-button-error branch October 25, 2022 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GH - Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants