Skip to content

Commit

Permalink
resolving build errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
siddheshraze committed Sep 13, 2024
1 parent aef80d8 commit 6a51feb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export default function IsolatedRolesDataGrid(props: IsolatedRolesDataGridProps)
initialRow={initialRoleRDSRow}
fieldToFocus={'roleName'}
onDataUpdate={onRolesUpdated}
clusters={{
Role: ['roleName', 'roleDescription']
}}
/>
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default function IsolatedStemTaxonomiesViewDataGrid() {
/>

<IsolatedDataGridCommons
locked
gridType="stemtaxonomiesview"
gridColumns={StemTaxonomiesViewGridColumns}
refresh={refresh}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -619,11 +619,15 @@ export default function SpeciesLimitsDataGrid({ speciesID }: { speciesID: number
)}
{isDialogOpen && promiseArguments && (
<ReEnterDataModal
gridType={'specieslimits'}
row={promiseArguments.oldRow}
reEnterData={promiseArguments.newRow}
handleClose={handleCancelAction}
handleSave={handleConfirmAction}
columns={SpeciesLimitsGridColumns}
clusters={{
SpeciesLimits: ['limitType', 'upperBound', 'lowerBound', 'unit']
}}
selectionOptions={['DBH', 'HOM'].map(limit => ({
value: limit,
label: limit
Expand Down
1 change: 1 addition & 0 deletions frontend/components/datagrids/datagridcommons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,7 @@ export default function DataGridCommons(props: Readonly<DataGridCommonProps>) {
)}
{isDialogOpen && promiseArguments && (
<ReEnterDataModal
gridType={gridType}
row={promiseArguments.oldRow} // Pass oldRow
reEnterData={promiseArguments.newRow} // Pass newRow
handleClose={handleCancelAction}
Expand Down
1 change: 1 addition & 0 deletions frontend/components/datagrids/measurementscommons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,7 @@ export default function MeasurementsCommons(props: Readonly<MeasurementsCommonsP
)}
{isDialogOpen && promiseArguments && (
<ReEnterDataModal
gridType={gridType}
row={promiseArguments.oldRow}
reEnterData={promiseArguments.newRow}
handleClose={handleCancelAction}
Expand Down

0 comments on commit 6a51feb

Please sign in to comment.