sort cheaper offers first

This commit is contained in:
fiatjaf_ 2024-11-11 13:28:36 -03:00 committed by GitHub
parent 6b8b694d07
commit dfc3f56dbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -919,6 +919,11 @@ const BookTable = ({
}
>
<ClickThroughDataGrid
initialState={{
sorting: {
sortModel: [{ field: 'premium', sort: 'asc' }],
},
}
sx={headerStyleFix}
localeText={localeText}
rowHeight={3.714 * theme.typography.fontSize}
@ -957,6 +962,11 @@ const BookTable = ({
<Dialog open={fullscreen} fullScreen={true}>
<Paper style={{ width: '100%', height: '100%', overflow: 'auto' }}>
<ClickThroughDataGrid
initialState={{
sorting: {
sortModel: [{ field: 'premium', sort: 'asc' }],
},
}
sx={headerStyleFix}
localeText={localeText}
rowHeight={3.714 * theme.typography.fontSize}