Fix call of onCompleted after all promises are resolved

This commit is contained in:
carlosmonastyrski
2025-03-14 12:44:49 -03:00
parent e39d1a0530
commit 94d7d2b029
15 changed files with 15 additions and 15 deletions

View File

@@ -127,7 +127,7 @@ export const AwsElastiCacheInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -104,7 +104,7 @@ export const AwsIamInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -149,7 +149,7 @@ export const AzureEntraIdInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -127,7 +127,7 @@ export const CassandraInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -147,7 +147,7 @@ export const ElasticSearchInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -156,7 +156,7 @@ export const LdapInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -158,7 +158,7 @@ export const MongoAtlasInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -135,7 +135,7 @@ export const MongoDBDatabaseInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -136,7 +136,7 @@ export const RabbitMqInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -121,7 +121,7 @@ export const RedisInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -122,7 +122,7 @@ sp_droplogin '{{username}}';`
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -122,7 +122,7 @@ DROP USER {{username}};`,
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -125,7 +125,7 @@ export const SnowflakeInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -215,7 +215,7 @@ export const SqlDatabaseInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};

View File

@@ -128,7 +128,7 @@ export const TotpInputForm = ({
}
});
await Promise.all(promises);
if (hasErrors) {
if (!hasErrors) {
onCompleted();
}
};