File tree 3 files changed +25
-2
lines changed
components/uploadsystem/segments
3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,15 @@ const UploadFireAzure: React.FC<UploadFireAzureProps> = ({
183
183
Some errors occurred during refresh:
184
184
</ Typography >
185
185
< Typography color = "error" > { refreshError } </ Typography >
186
- < Button variant = "contained" onClick = { ( ) => setRefreshError ( null ) } disabled = { continueDisabled } >
186
+ < Button
187
+ variant = "contained"
188
+ onClick = { ( ) => {
189
+ setRefreshError ( null ) ; // Clear the error
190
+ setContinueDisabled ( true ) ; // Enable the continuation
191
+ setReviewState ( ReviewStates . COMPLETE ) ; // Finalize the process
192
+ } }
193
+ disabled = { continueDisabled }
194
+ >
187
195
Continue
188
196
</ Button >
189
197
</ Stack >
Original file line number Diff line number Diff line change @@ -275,6 +275,20 @@ export interface MeasurementsCommonsProps {
275
275
locked ?: boolean ;
276
276
}
277
277
278
+ export interface IsolatedMeasurementsCommonsProps {
279
+ gridType : string ;
280
+ gridColumns : GridColDef [ ] ;
281
+ refresh : boolean ;
282
+ setRefresh : Dispatch < SetStateAction < boolean > > ;
283
+ initialRow ?: GridRowModel ;
284
+ fieldToFocus ?: string ;
285
+ locked ?: boolean ;
286
+ selectionOptions ?: { value : string | number ; label : string } [ ] ;
287
+ onDataUpdate ?: ( ) => void ;
288
+ clusters ?: Record < string , string [ ] > ;
289
+ handleExportErrors ?: ( ) => Promise < GridRowModel [ ] > ;
290
+ }
291
+
278
292
export const errorMapping : { [ key : string ] : string [ ] } = {
279
293
'1' : [ 'attributes' ] ,
280
294
'2' : [ 'measuredDBH' ] ,
Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ export function getMeasurementsSummaryViewHCs(): ColumnStates {
80
80
stemID : false ,
81
81
personnelID : false ,
82
82
dbhUnits : false ,
83
- homUnits : false
83
+ homUnits : false ,
84
+ speciesID : false
84
85
} ;
85
86
}
86
87
You can’t perform that action at this time.
0 commit comments