소스 검색

FE: Consumers: Replace zero consumer lag with "N/A" (#4009)

Roman Zabaluev 2 년 전
부모
커밋
9ab4580c47
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      kafka-ui-react-app/src/components/ConsumerGroups/List.tsx

+ 3 - 0
kafka-ui-react-app/src/components/ConsumerGroups/List.tsx

@@ -61,6 +61,9 @@ const List = () => {
         id: ConsumerGroupOrdering.MESSAGES_BEHIND,
         header: 'Consumer Lag',
         accessorKey: 'consumerLag',
+        cell: (args) => {
+          return args.getValue() || 'N/A';
+        },
       },
       {
         header: 'Coordinator',