mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-06-05 15:12:04 +01:00
Address comments
This commit is contained in:
parent
5d6273889d
commit
e26207e949
@ -298,8 +298,7 @@ export default class Explorer {
|
|||||||
this.sendNPSMessage();
|
this.sendNPSMessage();
|
||||||
}
|
}
|
||||||
} else {
|
} 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.
|
// Show survey when an existing account is older than 3 days
|
||||||
if (
|
|
||||||
!isAccountNewerThanThresholdInMs(userContext.databaseAccount?.systemData?.createdAt || "", THREE_DAYS_IN_MS)
|
!isAccountNewerThanThresholdInMs(userContext.databaseAccount?.systemData?.createdAt || "", THREE_DAYS_IN_MS)
|
||||||
) {
|
) {
|
||||||
this.sendNPSMessage();
|
this.sendNPSMessage();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user