Ver Fonte

Update component.jsx

shamoon há 2 anos atrás
pai
commit
08f56b54f5
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      src/widgets/prowlarr/component.jsx

+ 1 - 3
src/widgets/prowlarr/component.jsx

@@ -11,14 +11,12 @@ export default function Component({ service }) {
   const { data: grabsData, error: grabsError } = useWidgetAPI(widget, "indexerstats");
 
   if (grabsError) {
-    const finalError = indexersError ?? grabsError;
-    return <Container error={finalError} />;
+    return <Container error={grabsError} />;
   }
 
   if (!grabsData) {
     return (
       <Container service={service}>
-        <Block label="prowlarr.enableIndexers" />
         <Block label="prowlarr.numberOfGrabs" />
         <Block label="prowlarr.numberOfQueries" />
         <Block label="prowlarr.numberOfFailGrabs" />