From e39d1a053081e98b5eaeede8abb40d517de9f5b9 Mon Sep 17 00:00:00 2001 From: carlosmonastyrski Date: Fri, 14 Mar 2025 12:26:20 -0300 Subject: [PATCH] Fix call of onCompleted after all promises are resolved --- .../secret-manager/OverviewPage/OverviewPage.tsx | 2 +- .../components/ActionBar/ActionBar.tsx | 2 +- .../AwsElastiCacheInputForm.tsx | 8 ++++++-- .../CreateDynamicSecretForm/AwsIamInputForm.tsx | 12 ++++++++---- .../AzureEntraIdInputForm.tsx | 14 +++++++++----- .../CreateDynamicSecretForm/CassandraInputForm.tsx | 12 ++++++++---- .../ElasticSearchInputForm.tsx | 12 ++++++++---- .../CreateDynamicSecretForm/LdapInputForm.tsx | 12 ++++++++---- .../MongoAtlasInputForm.tsx | 12 ++++++++---- .../CreateDynamicSecretForm/MongoDBInputForm.tsx | 12 ++++++++---- .../CreateDynamicSecretForm/RabbitMqInputForm.tsx | 12 ++++++++---- .../CreateDynamicSecretForm/RedisInputForm.tsx | 12 ++++++++---- .../CreateDynamicSecretForm/SapAseInputForm.tsx | 12 ++++++++---- .../CreateDynamicSecretForm/SapHanaInputForm.tsx | 12 ++++++++---- .../CreateDynamicSecretForm/SnowflakeInputForm.tsx | 10 +++++++--- .../SqlDatabaseInputForm.tsx | 8 ++++++-- .../CreateDynamicSecretForm/TotpInputForm.tsx | 10 +++++++--- 17 files changed, 117 insertions(+), 57 deletions(-) diff --git a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx index a611eb030..12e0100b6 100644 --- a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx +++ b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx @@ -866,7 +866,7 @@ export const OverviewPage = () => {