Add code to fix VCoreMongo/PG bug

This commit is contained in:
Senthamil Sindhu
2024-07-08 14:46:11 -07:00
parent 2740657b4a
commit 1ddd372c6d
2 changed files with 3 additions and 2 deletions

View File

@@ -521,7 +521,9 @@ async function configurePortal(): Promise<Explorer> {
useDataPlaneRbac.setState({ dataPlaneRbacEnabled: dataPlaneRbacEnabled });
}
} else {
await fetchAndUpdateKeys(subscriptionId, resourceGroup, account.name);
if (userContext.apiType !== "Postgres" && userContext.apiType !== "VCoreMongo") {
await fetchAndUpdateKeys(subscriptionId, resourceGroup, account.name);
}
}
explorer = new Explorer();