Skip to content

Commit 42e34d9

Browse files
committed
chore: update version to 1.9.8-beta-5 and enhance CountrySelect component logic
1 parent 4254f35 commit 42e34d9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.9.8-beta-4",
3+
"version": "1.9.8-beta-5",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/CountrySelect/CountrySelect.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const CountrySelect = ({
4848
data,
4949
formatOptionLabelMeta,
5050
) => {
51-
if (formatOptionLabelMeta.context === 'menu') {
51+
if (formatOptionLabelMeta.context === 'menu' || variant === 'default') {
5252
return data.label
5353
}
5454

0 commit comments

Comments
 (0)