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: add type check for undefined, use fallback when no translation for aspect ratios was given #3025

Merged

Conversation

mashb1t
Copy link
Collaborator

@mashb1t mashb1t commented May 27, 2024

image

Adds type check for undefined, fall back to label "Aspect Ratios".

@mashb1t mashb1t merged commit 0e621ae into lllyasviel:main May 27, 2024
@mashb1t mashb1t changed the title fix: do not set textContent on undefined when no translation was given fix: add type check for undefined, use fallback when no translation for aspect ratios was given May 27, 2024
csokun pushed a commit to csokun/Fooocus that referenced this pull request Jun 16, 2024
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.

None yet

1 participant