fix rendering

This commit is contained in:
Matt Hill
2021-09-01 16:10:59 -06:00
committed by Aiden McClelland
parent eea9a13252
commit 4de560c342
2 changed files with 2 additions and 2 deletions

View File

@@ -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'