Add profile info caching
This commit is contained in:
parent
723dee5704
commit
6e93301542
3 changed files with 47 additions and 2 deletions
|
@ -10,6 +10,7 @@ import {isObj, hasProp} from '../lib/type-guards'
|
|||
import {SessionModel} from './session'
|
||||
import {NavigationModel} from './navigation'
|
||||
import {ShellUiModel} from './shell-ui'
|
||||
import {ProfilesViewModel} from './profiles-view'
|
||||
import {MeModel} from './me'
|
||||
import {OnboardModel} from './onboard'
|
||||
|
||||
|
@ -19,6 +20,7 @@ export class RootStoreModel {
|
|||
shell = new ShellUiModel()
|
||||
me = new MeModel(this)
|
||||
onboard = new OnboardModel()
|
||||
profiles = new ProfilesViewModel(this)
|
||||
|
||||
constructor(public api: SessionServiceClient) {
|
||||
makeAutoObservable(this, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue