mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
auto-select channel when expanded
This commit is contained in:
parent
c7347c568a
commit
36cc6da547
1 changed files with 1 additions and 0 deletions
|
|
@ -416,6 +416,7 @@ const ChannelsTable = ({ setSelectedChannels }) => {
|
|||
},
|
||||
muiExpandButtonProps: ({ row, table }) => ({
|
||||
onClick: () => {
|
||||
setRowSelection({ [row.index]: true });
|
||||
table.setExpanded({ [row.id]: !row.getIsExpanded() }); //only 1 detail panel open at a time
|
||||
},
|
||||
sx: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue