Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(site): gracefully handle reselection of the same preset#17014

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SasSwart merged 4 commits intomainfromjjs/preset-reselection
Mar 20, 2025

Conversation

SasSwart
Copy link
Contributor

This PRcloses#16953.

Reselecting a preset that was already the selected preset returned an undefined option to the onSelect function. We then tried to read an attribute of this undefined value. With this fix, we handle the undefined option correctly.

@mtojek
Copy link
Member

@SasSwart Is it still draft or should we review this?

@SasSwartSasSwart marked this pull request as ready for reviewMarch 20, 2025 07:28
@SasSwart
Copy link
ContributorAuthor

Just pushed one last commit to fix storybook CI. Ready for review now.

Copy link
Member

@mtojekmtojek left a comment

Choose a reason for hiding this comment

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

Ship it!

@SasSwartSasSwartenabled auto-merge (squash)March 20, 2025 07:38
@SasSwartSasSwart merged commit38b21ab intomainMar 20, 2025
30 checks passed
@SasSwartSasSwart deleted the jjs/preset-reselection branchMarch 20, 2025 07:42
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMar 20, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mtojekmtojekmtojek approved these changes

@BrunoQuaresmaBrunoQuaresmaAwaiting requested review from BrunoQuaresma

Assignees

@SasSwartSasSwart

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

bug: "TypeError: Cannot read properties of undefined (reading 'value')" when clicking on Workspace Preset currently already selected
2 participants
@SasSwart@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp