-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix Users page not updating fields correctly #1105
Fix Users page not updating fields correctly #1105
Conversation
✅ Closes: ICU-4189
✅ Closes: ICU-4189
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -40,7 +40,7 @@ export default class UserModel extends GeneratedUserModel { | |||
* There are many options, so we fallback in order of precedence. | |||
* @type {string} | |||
*/ | |||
@computed('email,full_name,login_name,displayName') | |||
@computed('email', 'full_name', 'login_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.
This computed decorator may not be required at all in Ember Octane: https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/no-computed-properties-in-native-classes.md
It should automagically work the same if the decorator is removed thanks to tracked properties (model attributes are automatically tracked).
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.
LGTM!
…ICU-4189-boundary-ui-iss-1096-admin-ui-users-page-serves-stale-content-after-user-account-association
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.
LGTM!
🎟️ Jira ticket
Description
You'll have to run a local boundary dev to test this as you won't see the difference with just mirage data
Screenshots (if appropriate):
Taken from the ticket:
https://user-images.githubusercontent.com/6604151/166251178-fea3b1e4-bcbc-4c40-ab90-8a9d5c46da01.mov
After:
![user](https://user-images.githubusercontent.com/5783847/167928913-0e0f20b9-64e0-4d2b-bd4d-6e37a19ca842.gif)