mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
no installed for mocks
This commit is contained in:
committed by
Aiden McClelland
parent
4405792beb
commit
007d9d9d09
@@ -348,8 +348,10 @@ export class MockApiService extends ApiService {
|
|||||||
unpacked: 0,
|
unpacked: 0,
|
||||||
'unpack-complete': false,
|
'unpack-complete': false,
|
||||||
}
|
}
|
||||||
|
const installedMock = Mock.Pkgs[params.id]
|
||||||
|
delete installedMock.installed
|
||||||
const pkg: PackageDataEntry = {
|
const pkg: PackageDataEntry = {
|
||||||
...Mock.Pkgs[params.id],
|
...installedMock,
|
||||||
state: PackageState.Installing,
|
state: PackageState.Installing,
|
||||||
'install-progress': initialProgress,
|
'install-progress': initialProgress,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user