diff --git a/src/widgets/omada/component.jsx b/src/widgets/omada/component.jsx
index dee60842f..2aa6df7e0 100644
--- a/src/widgets/omada/component.jsx
+++ b/src/widgets/omada/component.jsx
@@ -33,7 +33,6 @@ export default function Component({ service }) {
{ omadaData.connectedGateways > 0 && }
- { omadaData.connectedSwitches > 0 && }
);
}
diff --git a/src/widgets/prowlarr/component.jsx b/src/widgets/prowlarr/component.jsx
index c5840e24e..5bbfe65fa 100644
--- a/src/widgets/prowlarr/component.jsx
+++ b/src/widgets/prowlarr/component.jsx
@@ -8,15 +8,14 @@ export default function Component({ service }) {
const { t } = useTranslation();
const { widget } = service;
- const { data: indexersData, error: indexersError } = useWidgetAPI(widget, "indexer");
const { data: grabsData, error: grabsError } = useWidgetAPI(widget, "indexerstats");
- if (indexersError || grabsError) {
+ if (grabsError) {
const finalError = indexersError ?? grabsError;
return ;
}
- if (!indexersData || !grabsData) {
+ if (!grabsData) {
return (
@@ -28,8 +27,6 @@ export default function Component({ service }) {
);
}
- const indexers = indexersData?.filter((indexer) => indexer.enable === true);
-
let numberOfGrabs = 0;
let numberOfQueries = 0;
let numberOfFailedGrabs = 0;
@@ -43,7 +40,6 @@ export default function Component({ service }) {
return (
-