From 8c2ca4ab8e32845fe124021f1bda051e7293fe3b Mon Sep 17 00:00:00 2001 From: sindhuba <122321535+sindhuba@users.noreply.github.com> Date: Wed, 6 Sep 2023 08:22:54 -0700 Subject: [PATCH] Support NPS for PostGres (#1598) --- src/hooks/useKnockoutExplorer.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hooks/useKnockoutExplorer.ts b/src/hooks/useKnockoutExplorer.ts index 5eebd408f..8e18c5732 100644 --- a/src/hooks/useKnockoutExplorer.ts +++ b/src/hooks/useKnockoutExplorer.ts @@ -294,6 +294,9 @@ async function configurePortal(): Promise { updateContextsFromPortalMessage(inputs); explorer = new Explorer(); resolve(explorer); + if (userContext.apiType === "Postgres") { + explorer.openNPSSurveyDialog(); + } if (openAction) { handleOpenAction(openAction, useDatabases.getState().databases, explorer); }