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 undefined values fallback in profileParameters #29321

Closed
wants to merge 1 commit into from

Conversation

skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Oct 19, 2021

After #28751

While the ES6 destructuring syntax is fancy, it doesn't offers proper undefined fallback.
Either we do it like I suggest or we use a proper full object fallback as the loadState fallback parameter

It seems this still doesn't fixes everything as I'm personally still missing some values:
image

I assume this is because I'm on a dev and wild instance, but I want to still make sure we catch that to ensure no one else also encounter that issue 😄

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@skjnldsv skjnldsv added bug 2. developing Work in progress feature: profile PRs or issues related to the Profile feature (e.g. Profile page, API, etc.) labels Oct 19, 2021
@skjnldsv skjnldsv requested a review from Pytal October 19, 2021 12:46
@Pytal
Copy link
Member

Pytal commented Oct 20, 2021

This is fixed by #29330 on the backend — we can do this as well for extra safety :)

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81
Copy link
Member

oh, I see lots of conflicts now

@skjnldsv skjnldsv closed this Jun 15, 2022
@skjnldsv skjnldsv deleted the fix/profile-empty-profileParameters branch June 15, 2022 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress bug feature: profile PRs or issues related to the Profile feature (e.g. Profile page, API, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants