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: channelsData, error: channelsError } = useWidgetAPI(widget, "status");
|
||||
|
||||
if (channelsError) {
|
||||
return <Container error={channelsError} />;
|
||||
return <Container service={service} error={channelsError} />;
|
||||
}
|
||||
|
||||
if (!channelsData) {
|
||||
|
||||
Reference in new issue
Block a user