mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-06 20:28:48 +00:00
Fix site monitor with error
This commit is contained in:
parent
d49a06efd9
commit
f82a122e26
1 changed files with 1 additions and 1 deletions
|
@ -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")}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue