We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fb9078 commit c668f52Copy full SHA for c668f52
src/containers/Tablets/Tablets.tsx
@@ -34,9 +34,10 @@ const columns: DataTableColumn<TTabletStateInfo & {fqdn?: string}>[] = [
34
return i18n('Type');
35
},
36
render: ({row}) => {
37
+ const isFollower = row.Leader === false;
38
return (
39
<span>
- {row.Type} {row.Leader ? '' : <Text color="secondary">follower</Text>}
40
+ {row.Type} {isFollower ? <Text color="secondary">follower</Text> : ''}
41
</span>
42
);
43
0 commit comments