Skip to content

Commit

Permalink
Disable row selection in a few tables that missed it
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPhura committed Nov 28, 2024
1 parent 70a300a commit b33f877
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/components/attachments/list/AttachmentsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ const AttachmentsList = <T extends IGetProjectAttachment | IGetSurveyAttachment>
columns={attachmentsListColumnDefs}
rows={attachments}
pageSizeOptions={pageSizeOptions}
disableRowSelectionOnClick
initialState={{
pagination: {
paginationModel: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ export const SamplingSiteTable = (props: ISamplingSiteTableProps) => {
rowSelectionModel={selectedRows}
onRowSelectionModelChange={setSelectedRows}
checkboxSelection
disableRowSelectionOnClick
rowCount={rowCount}
paginationMode="server"
sortingMode="server"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export const SurveySpatialObservationTable = () => {
rowSelection={false}
autoHeight={false}
checkboxSelection={false}
disableRowSelectionOnClick
disableColumnSelector
disableColumnFilter
disableColumnMenu
Expand Down

0 comments on commit b33f877

Please sign in to comment.