Skip to content

Commit

Permalink
fix: dispatch login endEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Oct 14, 2021
1 parent 7ae24aa commit 5385212
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
"webpack-log": "^3.0.1"
},
"dependencies": {
"@cocreate/action": "^1.2.27",
"@cocreate/crud-client": "^1.4.1",
"@cocreate/docs": "^1.2.30",
"@cocreate/form": "^1.2.28",
"@cocreate/input": "^1.2.33",
"@cocreate/render": "^1.2.0"
"@cocreate/action": "^1.2.29",
"@cocreate/crud-client": "^1.4.2",
"@cocreate/docs": "^1.2.32",
"@cocreate/form": "^1.2.30",
"@cocreate/input": "^1.2.35",
"@cocreate/render": "^1.3.0"
}
}
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ const CoCreateUser = {
}
});

document.dispatchEvent(new CustomEvent('login', {
detail: {}
}));
},

getCurrentOrg: function(user_id, collection) {
Expand Down

0 comments on commit 5385212

Please sign in to comment.