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 crash when comparing artifacts in character editor #1734

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

frzyc
Copy link
Owner

@frzyc frzyc commented Mar 15, 2024

Describe your changes

BuildDisplayItem depends on TeamCharacterContext, but that context does not exist in character editor. Provide a default value since its only the shallow values being compared.

Issue or discord link

Testing/validation

Checklist before requesting a review (leave this PR as draft if any part of this list is not done.)

  • I have commented my code in hard-to understand areas.
  • I have made corresponding changes to README or wiki.
  • For front-end changes, I have updated the corresponding English translations.
  • I have run yarn run mini-ci locally to validate format and lint.
  • If I have added a new library or app, I have updated the deployment scripts to ignore changes as needed

@frzyc frzyc requested a review from nguyentvan7 March 15, 2024 20:16
Copy link
Contributor

github-actions bot commented Mar 15, 2024

[frontend] [Fri Mar 15 20:19:28 UTC 2024] - Deployed cb5b6ba to https://genshin-optimizer-prs.github.io/pr/1734/frontend (Takes 3-5 minutes after this completes to be available)

[Sat Mar 16 03:58:35 UTC 2024] - Deleted deployment

@frzyc frzyc merged commit 7704908 into master Mar 16, 2024
5 checks passed
@frzyc frzyc deleted the char_art_compare_fix branch March 16, 2024 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants