mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 15:09:10 +00:00
fix: prevent hide index column from leaking between cuesheet and editor
This commit is contained in:
committed by
Carlos Valente
parent
c7d8b137ca
commit
3838bdc54d
@@ -206,9 +206,16 @@ export default function CuesheetTable({ columns, cuesheetMode, tableRoot, setCue
|
||||
: SortableCuesheetHeader;
|
||||
|
||||
// if the table is being resized, we render non-sortable headers to avoid performance issues
|
||||
return <HeaderComponent key={headerGroup.id} cuesheetMode={cuesheetMode} headerGroup={headerGroup} />;
|
||||
return (
|
||||
<HeaderComponent
|
||||
key={headerGroup.id}
|
||||
cuesheetMode={cuesheetMode}
|
||||
headerGroup={headerGroup}
|
||||
hideIndexColumn={hideIndexColumn}
|
||||
/>
|
||||
);
|
||||
});
|
||||
}, [cuesheetMode, table]);
|
||||
}, [cuesheetMode, hideIndexColumn, table]);
|
||||
|
||||
const isLoading = !data || status === 'pending';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user