Skip to content

Commit

Permalink
[SecuritySolution] Clean up loading state when the timeline import mo…
Browse files Browse the repository at this point in the history
…dal closes (#197018)

## Summary

Fixes: #196877

The above issue describes an issue where the timeline import modal can
get into a broken state after a timeline failed to import. The fix was
to synchronize the loading state of the modal.
  • Loading branch information
janmonschke authored Oct 21, 2024
1 parent 492a9a4 commit 9577aa9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export const ImportDataModalComponent = ({
setOverwriteExceptions(false);
setOverwriteActionConnectors(false);
setActionConnectorsWarnings([]);
setIsImporting(false);
}, [closeModal, setOverwrite, setOverwriteExceptions]);

const onImportComplete = useCallback(
Expand Down

0 comments on commit 9577aa9

Please sign in to comment.