Skip to content

Commit bc8be3f

Browse files
committed
Fix deprecation
1 parent 3793ce9 commit bc8be3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pages/academy/grading/subcomponents/GradingSubmissionsTable.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,10 @@ const GradingSubmissionTable: React.FC<GradingSubmissionTableProps> = ({
409409
rowHeight={tableProperties.rowHeight}
410410
suppressMenuHide={tableProperties.suppressMenuHide}
411411
suppressPaginationPanel={tableProperties.suppressPaginationPanel}
412-
suppressRowClickSelection={tableProperties.suppressRowClickSelection}
412+
rowSelection={{
413+
mode: 'singleRow',
414+
enableClickSelection: !tableProperties.suppressRowClickSelection
415+
}}
413416
domLayout="autoHeight"
414417
onFilterChanged={e => {
415418
if (!e.afterFloatingFilter) {

0 commit comments

Comments
 (0)