Przeglądaj źródła

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

Roman Zabaluev 2 lat temu
rodzic
commit
9ab4580c47

+ 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',