11import React , { FC , memo , useCallback , useEffect , useMemo , useState } from 'react' ;
22import { List } from 'immutable' ;
33
4+ import { AuditBehaviorTypes } from '@labkey/api' ;
5+
46import { LoadingSpinner } from '../base/LoadingSpinner' ;
57import { Alert } from '../base/Alert' ;
68import { LockIcon } from '../base/LockIcon' ;
@@ -157,6 +159,7 @@ export const SampleStatusDetail: FC<SampleStatusDetailProps> = memo(props => {
157159 schemaQuery : SCHEMAS . CORE_TABLES . DATA_STATES ,
158160 rows : [ stateToSave ] ,
159161 containerPath : container ?. path ,
162+ auditBehavior : AuditBehaviorTypes . DETAILED ,
160163 } )
161164 . then ( ( ) => {
162165 onActionComplete ( stateToSave . label ) ;
@@ -171,6 +174,7 @@ export const SampleStatusDetail: FC<SampleStatusDetailProps> = memo(props => {
171174 schemaQuery : SCHEMAS . CORE_TABLES . DATA_STATES ,
172175 rows : List ( [ stateToSave ] ) ,
173176 containerPath : container ?. path ,
177+ auditBehavior : AuditBehaviorTypes . DETAILED ,
174178 } )
175179 . then ( ( ) => {
176180 onActionComplete ( stateToSave . label ) ;
@@ -192,6 +196,7 @@ export const SampleStatusDetail: FC<SampleStatusDetailProps> = memo(props => {
192196 schemaQuery : SCHEMAS . CORE_TABLES . DATA_STATES ,
193197 containerPath : container ?. path ,
194198 rows : [ updatedState ] ,
199+ auditBehavior : AuditBehaviorTypes . DETAILED ,
195200 } )
196201 . then ( ( ) => {
197202 onActionComplete ( undefined , true ) ;
0 commit comments