mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-02 05:23:14 +00:00
fix rendering
This commit is contained in:
committed by
Aiden McClelland
parent
eea9a13252
commit
4de560c342
@@ -74,7 +74,7 @@ export class AppListPage {
|
||||
this.pkgs[id].sub = this.patch.watch$('package-data', id).subscribe(pkg => {
|
||||
let bulbClass = 'bulb-on'
|
||||
let img = ''
|
||||
const statusRendering = renderPkgStatus(pkgs[id].state, pkgs[id].installed?.status)
|
||||
const statusRendering = renderPkgStatus(pkg.state, pkg.installed?.status)
|
||||
switch (statusRendering.color) {
|
||||
case 'danger':
|
||||
img = 'assets/img/danger-bulb.png'
|
||||
|
||||
Reference in New Issue
Block a user