mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Fix error detection in emby widget
This commit is contained in:
parent
57fef06931
commit
b25ba09e18
@ -171,7 +171,7 @@ export default function Component({ service }) {
|
||||
});
|
||||
}
|
||||
|
||||
if (sessionsError) {
|
||||
if (sessionsError || sessionsData?.error) {
|
||||
return <Container error={t("widget.api_error")} />;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user