Update homebridge, autobrr, truenas, tubearchivist, watchtower, pyload widgets

This commit is contained in:
Michael Shamoon 2022-10-26 08:35:38 -07:00
parent f473d324df
commit 00163d2f44
10 changed files with 40 additions and 14 deletions

View file

@ -12,8 +12,9 @@ export default function Component({ service }) {
const { data: watchData, error: watchError } = useWidgetAPI(widget, "watchtower");
if (watchError || !watchData) {
return <Container error={t("widget.api_error")} />;
if (watchError || watchData?.error) {
const finalError = watchError ?? watchData?.error;
return <Container error={finalError} />;
}
if (!watchData) {