Browse Source

Fix wrong connectors counter

* Changed connect counter

* Fix linter

Co-authored-by: Sergii Petrychenko <spetrichenko@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Sergii Petrychenko 3 years ago
parent
commit
f5d421d9f0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      kafka-ui-react-app/src/components/Connect/List/List.tsx

+ 1 - 2
kafka-ui-react-app/src/components/Connect/List/List.tsx

@@ -24,7 +24,6 @@ export interface ListProps {
 
 const List: React.FC<ListProps> = ({
   connectors,
-  connects,
   areConnectsFetching,
   areConnectorsFetching,
   fetchConnects,
@@ -55,7 +54,7 @@ const List: React.FC<ListProps> = ({
           title="Connects"
           fetching={areConnectsFetching}
         >
-          {connects.length}
+          {connectors.length}
         </Indicator>
 
         <div className="column">