1
0
Fork 0
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:
sauls8t 2019-06-19 12:46:46 +01:00
parent 4d2f30711c
commit 946c433018
2 changed files with 22 additions and 49 deletions

View file

@ -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();