Skip to content

Commit

Permalink
Fix configuration settings for track sorting in the track selector (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin authored Jul 22, 2024
1 parent 7815547 commit 951ba17
Show file tree
Hide file tree
Showing 18 changed files with 2,260 additions and 2,921 deletions.
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

node scripts/pre-commit.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"dependency-graph": "^1.0.0",
"dotenv": "^16.3.1",
"dotenv-expand": "^11.0.3",
"electron": "31.0.1",
"electron": "31.2.1",
"electron-builder": "^24.9.0",
"electron-mock-ipc": "^0.3.8",
"eslint": "^8.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,15 @@ export default function DataGridDetails({
label={<Typography variant="body2">Show options</Typography>}
/>
<DataGrid
autoHeight
disableRowSelectionOnClick
rows={rows}
rowCount={25}
rowHeight={25}
rowHeight={20}
columnHeaderHeight={35}
hideFooter={rows.length < 25}
slots={{ toolbar: checked ? GridToolbar : null }}
slots={{
toolbar: checked ? GridToolbar : null,
}}
slotProps={{
toolbar: {
printOptions: {
Expand All @@ -100,7 +102,7 @@ export default function DataGridDetails({
const value = params.value as string
return (
<div className={classes.cell}>
<SanitizedHTML html={getStr(value)} />
<SanitizedHTML html={getStr(value || '')} />
</div>
)
},
Expand Down
Loading

0 comments on commit 951ba17

Please sign in to comment.