mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
head end timing for loadInstalledApp
This commit is contained in:
committed by
Keagan McClelland
parent
95a0bfdd1e
commit
c4fe73398e
@@ -50,8 +50,9 @@ export class ModelPreload {
|
||||
}
|
||||
|
||||
loadInstalledApp (appId: string): Promise<PropertySubject<AppInstalledFull>> {
|
||||
const now = new Date()
|
||||
return this.api.getInstalledApp(appId).then(res => {
|
||||
this.appModel.update({ id: appId, ...res, hasFetchedFull: true })
|
||||
this.appModel.update({ id: appId, ...res, hasFetchedFull: true }, now)
|
||||
return this.appModel.watch(appId)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user