mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Update homebridge, autobrr, truenas, tubearchivist, watchtower, pyload widgets
This commit is contained in:
@@ -12,7 +12,8 @@ export default function Component({ service }) {
|
||||
const { data: homebridgeData, error: homebridgeError } = useWidgetAPI(widget, "info");
|
||||
|
||||
if (homebridgeError || homebridgeData?.error) {
|
||||
return <Container error={t("widget.api_error")} />;
|
||||
const finalError = homebridgeError ?? homebridgeData.error;
|
||||
return <Container error={finalError} />;
|
||||
}
|
||||
|
||||
if (!homebridgeData) {
|
||||
|
||||
Reference in New Issue
Block a user