mirror of
https://github.com/harness/drone.git
synced 2025-05-06 10:00:11 +08:00
feat: [CDE-275]: Removed map from region dropdown (#2615)
* feat: [CDE-275]: Removed map from region dropdown
This commit is contained in:
parent
7863f68bb3
commit
cc22b367d5
@ -68,7 +68,6 @@ export const SelectRegion = ({ options, disabled, defaultValue }: SelectRegionIn
|
||||
return (
|
||||
<Container>
|
||||
<CDECustomDropdown
|
||||
overridePopOverWidth
|
||||
label={
|
||||
<Layout.Horizontal spacing={'small'} flex={{ alignItems: 'center', justifyContent: 'flex-start' }}>
|
||||
<Layout.Vertical>
|
||||
@ -86,7 +85,6 @@ export const SelectRegion = ({ options, disabled, defaultValue }: SelectRegionIn
|
||||
</Layout.Horizontal>
|
||||
}
|
||||
menu={
|
||||
<Layout.Horizontal padding={{ top: 'small', bottom: 'small' }}>
|
||||
<Menu>
|
||||
{options.map(({ label }) => {
|
||||
return (
|
||||
@ -105,10 +103,6 @@ export const SelectRegion = ({ options, disabled, defaultValue }: SelectRegionIn
|
||||
)
|
||||
})}
|
||||
</Menu>
|
||||
<Menu>
|
||||
<img src={getMapFromRegion(regionState?.toLowerCase() || '')} />
|
||||
</Menu>
|
||||
</Layout.Horizontal>
|
||||
}
|
||||
/>
|
||||
</Container>
|
||||
|
Loading…
Reference in New Issue
Block a user