Skip to content

Fixed language flag issue#3313

Open
Corepex wants to merge 3 commits into2025.4from
3261-object-editor---missing-country-flag
Open

Fixed language flag issue#3313
Corepex wants to merge 3 commits into2025.4from
3261-object-editor---missing-country-flag

Conversation

@Corepex
Copy link
Copy Markdown
Contributor

@Corepex Corepex commented Apr 8, 2026

Changes in this pull request

Resolves #3261

Additional info

This pull request makes a small adjustment to the logic for resolving which flag icon to display for a given language code. The change simplifies the conditional check for displaying a country flag by removing an unnecessary comparison.

  • Simplified the condition in resolveLanguageFlag within flag-icon.tsx by removing the redundant countryCode !== languageOnly check, ensuring that as long as countryCode exists and the flag exists, it will be used.

@Corepex Corepex self-assigned this Apr 8, 2026
@Corepex Corepex requested a review from xIrusux April 8, 2026 08:19
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

@Corepex Corepex linked an issue Apr 17, 2026 that may be closed by this pull request
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.

[Object Editor] - missing country flag

1 participant