mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-05 21:47:48 +01:00
Fix site monitor with error
This commit is contained in:
@@ -12,7 +12,7 @@ export default function SiteMonitor({ group, service, style }) {
|
||||
let statusTitle = t("siteMonitor.http_status");
|
||||
let statusText = "";
|
||||
|
||||
if (error) {
|
||||
if (error || (data && data.error)) {
|
||||
colorClass = "text-rose-500";
|
||||
statusText = t("siteMonitor.error");
|
||||
statusTitle += ` ${t("siteMonitor.error")}`;
|
||||
|
||||
Reference in New Issue
Block a user