-
Notifications
You must be signed in to change notification settings - Fork 85
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 actions reactivity #585
Conversation
/backport to stable0-12 |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
9bf4704
to
7cc3f40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good!
The backport to stable0-12 failed. Please do this backport manually. |
Backport in #588 |
isValidSingleAction() { | ||
return this.actions.length === 1 | ||
&& this.firstActionElement !== null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.firstActionElement
is always undefined
(it's never defined anywhere after this PR). Should be this.firstActionBinding
probably. I'll create a PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR in #2878
Reactivities fixes:
I now added
$children
in the data, that way vue inject its watcher and we get a reactive$children
Examples