Browse Source

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

Roman Zabaluev 2 năm trước cách đây
mục cha
commit
9ab4580c47
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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',