File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
app/src/components/dataset Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -86,25 +86,15 @@ export function DatasetSelect(props: DatasetSelectProps) {
8686 ` }
8787 >
8888 { data . datasets . edges . map ( ( { dataset } ) => {
89- const isDisabled = dataset . exampleCount === 0 ;
9089 return (
91- < SelectItem
92- key = { dataset . id }
93- id = { dataset . id }
94- isDisabled = { isDisabled }
95- >
90+ < SelectItem key = { dataset . id } id = { dataset . id } >
9691 < Flex direction = "column" gap = "size-100" width = "100%" >
9792 < Flex
9893 direction = "row"
9994 alignItems = "center"
10095 gap = "size-200"
10196 justifyContent = "space-between"
10297 width = "100%"
103- css = { css `
104- opacity : ${ isDisabled
105- ? "var(--ac-global-opacity-disabled)"
106- : 1 } ;
107- ` }
10898 >
10999 < Text > { dataset . name } </ Text >
110100 < Text color = "text-700" size = "XS" >
You can’t perform that action at this time.
0 commit comments