mirror of
https://github.com/unraid/webgui.git
synced 2026-05-09 05:41:17 -05:00
Docker: Fix: show docker updates as 'available' instead of 'unknown' when upgrading from 6.1 to 6.2
This commit is contained in:
@@ -466,7 +466,7 @@ class DockerUpdate{
|
||||
// Add :latest tag to image if it's absent
|
||||
$image = ($image && count(preg_split("#[:\/]#", $image)) < 3) ? "${image}:latest" : $image;
|
||||
if(isset($updateStatus[$image])) {
|
||||
if ($updateStatus[$image]['local'] && $updateStatus[$image]['remote']) {
|
||||
if ($updateStatus[$image]['local'] || $updateStatus[$image]['remote']) {
|
||||
return ($updateStatus[$image]['local'] == $updateStatus[$image]['remote']) ? true : false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user