auto-select channel when expanded

This commit is contained in:
dekzter 2025-03-07 09:24:46 -05:00
parent c7347c568a
commit 36cc6da547

View file

@ -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: {