We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 900fbee commit 7c6573bCopy full SHA for 7c6573b
frontend/src/components/Topics/List/TopicTable.tsx
@@ -74,17 +74,8 @@ const TopicTable: React.FC = () => {
74
{
75
id: TopicColumnsToSort.MESSAGES_COUNT,
76
header: 'Number of messages',
77
- accessorKey: 'partitions',
+ accessorKey: 'messageCount',
78
size: 146,
79
- cell: ({ getValue }) => {
80
- const partitions = getValue<Topic['partitions']>();
81
- if (partitions === undefined || partitions.length === 0) {
82
- return 0;
83
- }
84
- return partitions.reduce((memo, { offsetMax, offsetMin }) => {
85
- return memo + (offsetMax - offsetMin);
86
- }, 0);
87
- },
88
},
89
90
id: TopicColumnsToSort.SIZE,
0 commit comments