This commit is contained in:
@@ -26,7 +26,7 @@ export function DockerUpdatesWidget() {
|
||||
}, [])
|
||||
|
||||
const outdated = containers.filter(c => c.upToDate === false).length
|
||||
const unknown = containers.filter(c => c.upToDate === null).length
|
||||
const unknown = containers.filter(c => c.upToDate === null && c.registry !== 'docker.io' && c.registry !== 'ghcr.io').length
|
||||
|
||||
return (
|
||||
<div className="card">
|
||||
@@ -52,7 +52,7 @@ export function DockerUpdatesWidget() {
|
||||
{c.image}:{c.tag} · {c.endpoint}
|
||||
</span>
|
||||
</div>
|
||||
{c.registry !== 'docker.io' ? (
|
||||
{c.upToDate === null && c.registry !== 'docker.io' && c.registry !== 'ghcr.io' ? (
|
||||
<span className="pill pill-blue">ext</span>
|
||||
) : c.upToDate === true ? (
|
||||
<span className="pill pill-green">✓</span>
|
||||
|
||||
Reference in New Issue
Block a user