-
Notifications
You must be signed in to change notification settings - Fork 446
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: extract createTemporaryMessage to utils #13784
Conversation
4009539
to
8e5bcb6
Compare
This is better if it is a composable actually. That's because
|
I would agree that composable wrapper may be used in the component, but function itself is to remain stateless |
Signed-off-by: Maksim Sukharev <[email protected]>
- pure and stateless - return type matches server response Signed-off-by: Maksim Sukharev <[email protected]>
- provide some arguments for util based on store content - clean up in Vuex stores - adjust tests Signed-off-by: Maksim Sukharev <[email protected]>
8e5bcb6
to
3071d4d
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.
Tested
/backport to stable30 |
☑️ Resolves
🖌️ UI Checklist
🏁 Checklist