From 79f9112d804f34e9d3ae1c7282f46d064d8d5724 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 22 Oct 2024 01:28:46 +1100 Subject: [PATCH] [8.x] [SecuritySolution] Clean up loading state when the timeline import modal closes (#197018) (#197052) # Backport This will backport the following commits from `main` to `8.x`: - [[SecuritySolution] Clean up loading state when the timeline import modal closes (#197018)](https://github.com/elastic/kibana/pull/197018) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Jan Monschke --- .../public/common/components/import_data_modal/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/security_solution/public/common/components/import_data_modal/index.tsx b/x-pack/plugins/security_solution/public/common/components/import_data_modal/index.tsx index 7fee04747408e..0d4e51692e7c9 100644 --- a/x-pack/plugins/security_solution/public/common/components/import_data_modal/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/import_data_modal/index.tsx @@ -91,6 +91,7 @@ export const ImportDataModalComponent = ({ setOverwriteExceptions(false); setOverwriteActionConnectors(false); setActionConnectorsWarnings([]); + setIsImporting(false); }, [closeModal, setOverwrite, setOverwriteExceptions]); const onImportComplete = useCallback(