Add setting to hide widgets on failure
This commit is contained in:
84 files changed
+103
-93
No files matched your search
@@ -11,7 +11,7 @@ export default function Component({ service }) {
|
||||
const { data: nextcloudData, error: nextcloudError } = useWidgetAPI(widget, "serverinfo");
|
||||
|
||||
if (nextcloudError) {
|
||||
return <Container error={nextcloudError} />;
|
||||
return <Container service={service} error={nextcloudError} />;
|
||||
}
|
||||
|
||||
if (!nextcloudData) {
|
||||
|
||||
Reference in new issue
Block a user