Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AbDisc: Plate Set ELN Reference #1648

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

AbDisc: Plate Set ELN Reference #1648

wants to merge 3 commits into from

Conversation

RosalineP
Copy link
Contributor

@RosalineP RosalineP commented Nov 20, 2024

@@ -210,7 +210,7 @@ export function resolveIconSrc(data: any, category: SearchCategory): string {
// else fallback to default
} else if (data.sampleSet?.name) {
iconSrc = 'samples';
} else if (data.type) {
} else if (data.type && category !== SearchCategory.PlateSet) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Slightly hacky... currently without this conditional the 'type' on a PS makes logic flow into this block

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not seeing why going into this block is a problem. Does the lcType for PS end up matching on one of these conditions? I'd assume it would just fall through.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It falls through and renders like so:
Screenshot 2024-11-22 at 11 34 44 AM

@RosalineP RosalineP marked this pull request as ready for review November 20, 2024 18:43
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