Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankbrgowda committed Nov 18, 2024
1 parent 374ebad commit 50d7d3b
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions packages/jbrowse-plugin-apollo/src/components/FilterFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,22 @@ export const FilterFeatures = observer(function FilterFeatures({
</Grid>
</Grid>
{selectedFeatureTypes.length > 0 && (
<div style={{ width: 300 }}>
<div>
<hr />
<DialogContentText>Selected feature types:</DialogContentText>
<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 0.5 }}>
{selectedFeatureTypes.map((value) => (
<Chip
key={value}
label={value}
onDelete={() => {
handleFeatureTypeDelete(value)
}}
/>
))}
</Box>
<div style={{ width: 300 }}>
<DialogContentText>Selected feature types:</DialogContentText>
<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 0.5 }}>
{selectedFeatureTypes.map((value) => (
<Chip
key={value}
label={value}
onDelete={() => {
handleFeatureTypeDelete(value)
}}
/>
))}
</Box>
</div>
</div>
)}
</DialogContent>
Expand Down

0 comments on commit 50d7d3b

Please sign in to comment.