Fix error detection in emby widget
This commit is contained in:
1 parent
57fef06931
commit
b25ba09e18
1 file changed
+1
-1
@@ -171,7 +171,7 @@ export default function Component({ service }) {
|
||||
});
|
||||
}
|
||||
|
||||
if (sessionsError) {
|
||||
if (sessionsError || sessionsData?.error) {
|
||||
return <Container error={t("widget.api_error")} />;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user