fix(core): Only take into account users that active for the first time to show activation modal (no-changelog) (#6121)

only take into account users that active for the first time
This commit is contained in:
Ricardo Espinoza 2023-04-28 04:56:24 -04:00 committed by GitHub
parent 3fb84df122
commit 5974af1903
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ export async function workflowExecutionCompleted(
workflow_id: workflowId,
};
if (!owner.settings?.firstSuccessfulWorkflowId) {
if (!owner.settings?.userActivated) {
await UserService.updateUserSettings(owner.id, {
firstSuccessfulWorkflowId: workflowId,
userActivated: true,