mirror of
https://github.com/unraid/webgui.git
synced 2026-03-14 15:01:42 -05:00
Merge pull request #564 from bergware/master
Docker: show 'up-to-date' when status is unknown
This commit is contained in:
@@ -287,7 +287,7 @@ class DockerTemplates {
|
||||
if (!$tmp['updated'] || $reload) {
|
||||
if ($reload) $DockerUpdate->reloadUpdateStatus($image);
|
||||
$vs = $DockerUpdate->getUpdateStatus($image);
|
||||
$tmp['updated'] = $vs===null ? null : ($vs===true ? 'true' : 'false');
|
||||
$tmp['updated'] = $vs===null ? 'undef' : ($vs===true ? 'true' : 'false');
|
||||
}
|
||||
if (!$tmp['template'] || $reload) $tmp['template'] = $this->getUserTemplate($name);
|
||||
if ($reload) $DockerUpdate->updateUserTemplate($name);
|
||||
|
||||
Reference in New Issue
Block a user