mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-25 11:04:07 +00:00
Enhance 'Active' column in M3UTable: set minimum size, add sorting function, and align text to the left.
This commit is contained in:
parent
3a68a66e70
commit
77d837eb7d
1 changed files with 5 additions and 0 deletions
|
|
@ -428,6 +428,11 @@ const M3UTable = () => {
|
|||
header: 'Active',
|
||||
accessorKey: 'is_active',
|
||||
size: 80,
|
||||
minSize: 60,
|
||||
sortingFn: 'basic',
|
||||
mantineTableBodyCellProps: {
|
||||
align: 'left',
|
||||
},
|
||||
Cell: ({ cell, row }) => {
|
||||
return (
|
||||
<Box sx={{ display: 'flex', justifyContent: 'center' }}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue