mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fix list page bug
This commit is contained in:
committed by
Aiden McClelland
parent
c8d2520248
commit
169039c69b
@@ -35,7 +35,11 @@ export class AppListPage {
|
|||||||
this.patch.watch$('package-data')
|
this.patch.watch$('package-data')
|
||||||
.pipe(
|
.pipe(
|
||||||
filter(obj => {
|
filter(obj => {
|
||||||
return obj && Object.keys(obj).length !== Object.keys(this.pkgs).length
|
return obj &&
|
||||||
|
(
|
||||||
|
isEmptyObject(obj) ||
|
||||||
|
Object.keys(obj).length !== Object.keys(this.pkgs).length
|
||||||
|
)
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
.subscribe(pkgs => {
|
.subscribe(pkgs => {
|
||||||
|
|||||||
@@ -852,6 +852,18 @@ export module Mock {
|
|||||||
value: 10.1,
|
value: 10.1,
|
||||||
unit: '%',
|
unit: '%',
|
||||||
},
|
},
|
||||||
|
'Hmmmm4': {
|
||||||
|
value: Math.random(),
|
||||||
|
unit: 'mi/b',
|
||||||
|
},
|
||||||
|
'Hmmmm5': {
|
||||||
|
value: 50,
|
||||||
|
unit: '%',
|
||||||
|
},
|
||||||
|
'Hmmmm6': {
|
||||||
|
value: 10.1,
|
||||||
|
unit: '%',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user