Skip to content

fix: filter lookupOptions by current value (MAPCO-5661)#549

Merged
Dorin-RFL merged 4 commits into
masterfrom
maxResolutionDeg
Dec 16, 2024
Merged

fix: filter lookupOptions by current value (MAPCO-5661)#549
Dorin-RFL merged 4 commits into
masterfrom
maxResolutionDeg

Conversation

@Dorin-RFL
Copy link
Copy Markdown
Contributor

No description provided.

@Dorin-RFL Dorin-RFL changed the title fix: filter lookupOptions by current value fix: filter lookupOptions by current value (MAPCO-5661) Dec 5, 2024
alebinson
alebinson previously approved these changes Dec 5, 2024
@alebinson alebinson self-requested a review December 5, 2024 15:20
@alebinson alebinson dismissed their stale review December 5, 2024 15:28

too general change, should be specific

Copy link
Copy Markdown
Collaborator

@alebinson alebinson left a comment

Choose a reason for hiding this comment

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

gr8!

enhanced>
{
lookupOptions.map(({ translationCode, value, properties }, index) => {
lookupOptions.filter((option)=> value && option.properties.resolutionDeg as unknown as number >= Number(value))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

it's too low level, this change will be performed for all instances of this component, should be done only for specific place

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.

2 participants