Remove NPS feature flag (#1592)

* Remove NPS feature flag

* Fix comment on indentation
This commit is contained in:
sindhuba
2023-08-28 11:06:59 -07:00
committed by GitHub
parent 425e375d50
commit f7370fd341
2 changed files with 1 additions and 5 deletions

View File

@@ -1426,9 +1426,7 @@ export class AddCollectionPanel extends React.Component<AddCollectionPanelProps,
TelemetryProcessor.traceSuccess(Action.CreateCollection, telemetryData, startKey);
useSidePanel.getState().closeSidePanel();
// open NPS Survey Dialog once the collection is created
if (userContext.features.enableNPSSurvey) {
this.props.explorer.openNPSSurveyDialog();
}
this.props.explorer.openNPSSurveyDialog();
} catch (error) {
const errorMessage: string = getErrorMessage(error);
this.setState({ isExecuting: false, errorMessage, showErrorDetails: true });