Update homebridge, autobrr, truenas, tubearchivist, watchtower, pyload widgets
This commit is contained in:
1 parent
f473d324df
commit
00163d2f44
10 files changed
+40
-14
No files matched your search
@@ -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