-
-
Couldn't load subscription status.
- Fork 4.6k
Emit event on status-change #22801
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
Emit event on status-change #22801
Conversation
| async setStatus({ commit, state }, { statusType }) { | ||
| await setStatus(statusType) | ||
| commit('setStatus', { statusType }) | ||
| emit('user_status:status.updated', { |
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.
if we add the user, we could use the same event for other user status-updates as well?
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.
Sounds reasonable, let me add that
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.
@ChristophWurst you approved this event name?
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.
what is the issue? the .?
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4ea165c to
f4d4975
Compare
No description provided.