This commit is contained in:
Paul Frazee
2023-03-06 15:46:44 -06:00
parent 42f88d13bc
commit d6568c33e0
+9 -9
View File
@@ -99,15 +99,15 @@ export class MeModel {
this.mainFeed.clear() this.mainFeed.clear()
await this.follows.fetch().catch(e => { await this.follows.fetch().catch(e => {
this.rootStore.log.error('Failed to load my follows', e) this.rootStore.log.error('Failed to load my follows', e)
}), })
await Promise.all([ await Promise.all([
this.mainFeed.setup().catch(e => { this.mainFeed.setup().catch(e => {
this.rootStore.log.error('Failed to setup main feed model', e) this.rootStore.log.error('Failed to setup main feed model', e)
}), }),
this.notifications.setup().catch(e => { this.notifications.setup().catch(e => {
this.rootStore.log.error('Failed to setup notifications model', e) this.rootStore.log.error('Failed to setup notifications model', e)
}), }),
]) ])
this.rootStore.emitSessionLoaded() this.rootStore.emitSessionLoaded()
} else { } else {
this.clear() this.clear()