Support NPS for PostGres

This commit is contained in:
Senthamil Sindhu 2023-08-31 19:25:06 -07:00
parent ecb39dd99f
commit b432bd38eb

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);
}