Address comments

This commit is contained in:
Senthamil Sindhu 2024-01-18 11:04:24 -08:00
parent 5d6273889d
commit e26207e949
1 changed files with 1 additions and 2 deletions

View File

@ -298,8 +298,7 @@ export default class Explorer {
this.sendNPSMessage();
}
} else {
// Display survey when an existing account is older than 3 days but less than 90 days old. Also, show for accounts greater than 90 days old. For existing account show to 100% of users in Data Explorer.
if (
// Show survey when an existing account is older than 3 days
!isAccountNewerThanThresholdInMs(userContext.databaseAccount?.systemData?.createdAt || "", THREE_DAYS_IN_MS)
) {
this.sendNPSMessage();