We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6e44ad + 20387a6 commit 866d2efCopy full SHA for 866d2ef
packages/ember-simple-auth/src/session-stores/local-storage.ts
@@ -40,9 +40,7 @@ export default class LocalStorageStore extends BaseStore {
40
constructor(owner: any) {
41
super(owner);
42
43
- this._isFastBoot = this.hasOwnProperty('_isFastBoot')
44
- ? this._isFastBoot
45
- : isFastBoot(getOwner(this));
+ this._isFastBoot = isFastBoot(getOwner(this));
46
if (!this.get('_isFastBoot')) {
47
window.addEventListener('storage', this._handleStorageEvent);
48
}
0 commit comments