mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
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:
parent
3fb84df122
commit
5974af1903
|
@ -114,7 +114,7 @@ export async function workflowExecutionCompleted(
|
||||||
workflow_id: workflowId,
|
workflow_id: workflowId,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!owner.settings?.firstSuccessfulWorkflowId) {
|
if (!owner.settings?.userActivated) {
|
||||||
await UserService.updateUserSettings(owner.id, {
|
await UserService.updateUserSettings(owner.id, {
|
||||||
firstSuccessfulWorkflowId: workflowId,
|
firstSuccessfulWorkflowId: workflowId,
|
||||||
userActivated: true,
|
userActivated: true,
|
||||||
|
|
Loading…
Reference in a new issue