mirror of
https://github.com/documize/community.git
synced 2025-07-22 06:39:43 +02:00
Detect first-time login event
This commit is contained in:
parent
4d2f30711c
commit
946c433018
2 changed files with 22 additions and 49 deletions
|
@ -16,7 +16,7 @@ import Component from '@ember/component';
|
|||
export default Component.extend(Modals, {
|
||||
localStorage: service(),
|
||||
|
||||
didReceiveAttrs() {
|
||||
didInsertElement() {
|
||||
this._super(...arguments);
|
||||
|
||||
let firstRun = this.get('localStorage').isFirstRun();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue