diff --git a/public/pages/CreateDetector/components/DefineDetector/components/DetectionRules/DetectionRules.tsx b/public/pages/CreateDetector/components/DefineDetector/components/DetectionRules/DetectionRules.tsx index 7aec70c02..6c8c60679 100644 --- a/public/pages/CreateDetector/components/DefineDetector/components/DetectionRules/DetectionRules.tsx +++ b/public/pages/CreateDetector/components/DefineDetector/components/DetectionRules/DetectionRules.tsx @@ -28,6 +28,7 @@ export interface CreateDetectorRulesState { export interface DetectionRulesProps { rulesState: CreateDetectorRulesState; + loading?: boolean; onRuleToggle: (changedItem: RuleItem, isActive: boolean) => void; onAllRulesToggle: (enabled: boolean) => void; onPageChange: (page: { index: number; size: number }) => void; @@ -35,6 +36,7 @@ export interface DetectionRulesProps { export const DetectionRules: React.FC = ({ rulesState, + loading, onPageChange, onRuleToggle, onAllRulesToggle, @@ -103,6 +105,7 @@ export const DetectionRules: React.FC = ({ buttonProps={{ style: { paddingLeft: '10px', paddingRight: '10px' } }} id={'detectorRulesAccordion'} initialIsOpen={false} + isLoading={loading} > void; updateDataValidState: (step: DetectorCreationStep, isValid: boolean) => void; onPageChange: (page: { index: number; size: number }) => void; @@ -203,6 +204,7 @@ export default class DefineDetector extends Component { @@ -73,6 +74,7 @@ export default class CreateDetector extends Component