mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fix duplicate patch updates, add scroll button to setup success (#1800)
* fix duplicate patch updates, add scroll button to setup success * update path * update patch * update patch
This commit is contained in:
@@ -863,11 +863,16 @@ export class MockApiService extends ApiService {
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
const patch2: Operation<PackageDataEntry>[] = [
|
||||
const patch2: Operation<any>[] = [
|
||||
{
|
||||
op: PatchOp.REPLACE,
|
||||
path: `/package-data/${id}`,
|
||||
value: { ...Mock.LocalPkgs[id] },
|
||||
path: `/package-data/${id}/state`,
|
||||
value: PackageState.Installed,
|
||||
},
|
||||
{
|
||||
op: PatchOp.ADD,
|
||||
path: `/package-data/${id}/installed`,
|
||||
value: { ...Mock.LocalPkgs[id].installed },
|
||||
},
|
||||
{
|
||||
op: PatchOp.REMOVE,
|
||||
|
||||
Reference in New Issue
Block a user