| | |
| | | height: '.9em' |
| | | }, |
| | | '& .RaDatagrid-row': { |
| | | cursor: 'auto' |
| | | cursor: 'pointer' |
| | | }, |
| | | '& .column-name': { |
| | | }, |
| | |
| | | <StyledDatagrid |
| | | preferenceKey='sta' |
| | | bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />} |
| | | rowClick={(id, resource, record) => false} |
| | | // rowClick={(id, resource, record) => false} |
| | | rowClick="expand" |
| | | expand={() => <StaPanel />} |
| | | expandSingle={true} |
| | | rowSx={rowSx(drawerVal || null)} |
| | |
| | | height: 14, |
| | | borderRadius: '50%', |
| | | backgroundColor: color, |
| | | boxShadow: `0 0 6px ${color}`, |
| | | boxShadow: `0 0 3px ${color}`, |
| | | border: '1px solid rgba(0,0,0,0.12)' |
| | | }} /> |
| | | <Typography variant="body2"> |
| | |
| | | if (isFalsy(value)) { |
| | | return '#9e9e9e'; |
| | | } |
| | | return '#ff9800'; |
| | | return '#d40000ff'; |
| | | }; |
| | | |
| | | const isTruthy = (value) => { |