Skip to content

Fixed language flag issue#3313

Merged
Corepex merged 3 commits into2025.4from
3261-object-editor---missing-country-flag
Apr 20, 2026
Merged

Fixed language flag issue#3313
Corepex merged 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
Copy link
Copy Markdown
Contributor

@xIrusux xIrusux left a comment

Choose a reason for hiding this comment

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

LGTM :)

@Corepex Corepex modified the milestone: 2025.4.1 Apr 20, 2026
@Corepex Corepex merged commit 6440e7c into 2025.4 Apr 20, 2026
1 check passed
@Corepex Corepex deleted the 3261-object-editor---missing-country-flag branch April 20, 2026 12:37
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Object Editor] - missing country flag

2 participants