Skip to content

Commit e08de4f

Browse files
authored
FE: Fix Default Consumer's Lag Value with nullish coalescing
1 parent e7df880 commit e08de4f

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/components/ConsumerGroups

1 file changed

+1
-1
lines changed

frontend/src/components/ConsumerGroups/List.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const List = () => {
6262
header: 'Consumer Lag',
6363
accessorKey: 'consumerLag',
6464
cell: (args) => {
65-
return args.getValue() || 'N/A';
65+
return args.getValue() ?? 'N/A';
6666
},
6767
},
6868
{

0 commit comments

Comments
 (0)