Fixed uptime button color.
This commit is contained in:
parent
f7efce5c4f
commit
bca355a047
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ public class FederationHeaderView
|
|||
data.setAttribute("crawlLink", "href", federation.getTechnicalName() + "-crawl.xhtml");
|
||||
data.setAttribute("uptimeLink", "href", federation.getLocalFileBaseName() + "-uptimes.xhtml");
|
||||
|
||||
if (HtmlizerContext.instance().getUptimeJournal().hasRecentError(federation.getServicesAll()))
|
||||
if (HtmlizerContext.instance().getUptimeJournal().hasRecentError(federation.getActiveServices()))
|
||||
{
|
||||
data.setAttribute("uptimeLinkImg", "src", "circle-icons/countdown-ko-mono.svg");
|
||||
}
|
||||
|
|
|
@ -115,7 +115,7 @@ public class OrganizationHeaderView
|
|||
}
|
||||
|
||||
data.setAttribute("uptimeLink", "href", organization.getLocalFileBaseName() + "-uptimes.xhtml");
|
||||
if (HtmlizerContext.instance().getUptimeJournal().hasRecentError(organization.getServices()))
|
||||
if (HtmlizerContext.instance().getUptimeJournal().hasRecentError(organization.getActiveServices()))
|
||||
{
|
||||
data.setAttribute("uptimeLinkImg", "src", "circle-icons/countdown-ko-mono.svg");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue