Support NPS for PostGres (#1598)

This commit is contained in:
sindhuba 2023-09-06 08:22:54 -07:00 committed by GitHub
parent 98bf84d09d
commit 8c2ca4ab8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,6 +294,9 @@ async function configurePortal(): Promise<Explorer> {
updateContextsFromPortalMessage(inputs);
explorer = new Explorer();
resolve(explorer);
if (userContext.apiType === "Postgres") {
explorer.openNPSSurveyDialog();
}
if (openAction) {
handleOpenAction(openAction, useDatabases.getState().databases, explorer);
}