File tree 1 file changed +4
-2
lines changed
client/src/containers/datasets/components
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,9 @@ const GroupDataset = ({ layers, slug: datasetSlug }: GroupDatasetProps) => {
154
154
< div className = "flex w-full items-center justify-between" >
155
155
< div className = "flex items-center gap-2" >
156
156
< ColorSwatchIcon />
157
- { selectedLayer ?. name || t ( "Types" ) }
157
+ < span className = "line-clamp-1 max-w-[250px]" >
158
+ { selectedLayer ?. name || t ( "Types" ) }
159
+ </ span >
158
160
</ div >
159
161
{ isRangelandDataset && selectedLayer ?. layer ?. data ?. attributes ?. slug && (
160
162
< CircleLegend
@@ -182,7 +184,7 @@ const GroupDataset = ({ layers, slug: datasetSlug }: GroupDatasetProps) => {
182
184
</ SelectContent >
183
185
</ Select >
184
186
185
- { ! ! rangelandsData ?. data ?. length && (
187
+ { ! ! isRangelandDataset && ! ! rangelandsData ?. data ?. length && (
186
188
< MultiSelect
187
189
defaultValue = { rangelandRegion || [ ] }
188
190
options = { filterOptions }
You can’t perform that action at this time.
0 commit comments