Skip to content

Commit

Permalink
add implementation to version on list and stats pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrank-summit committed Feb 6, 2024
1 parent 3beeb05 commit 7f6519a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/telemetry_core/src/state/chain_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ impl ChainStatsCollator {
hwbench: Option<&common::node_types::NodeHwBench>,
op: CounterValue,
) {
self.version.modify(Some(&*details.version), op);
let full_version = format!("{} v{}", details.implementation, details.version);
self.version.modify(Some(&full_version), op);

self.implementation
.modify(Some(&*details.implementation), op);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class ImplementationColumn extends React.Component<ColumnProps> {
return (
<td className="Column">
<Tooltip text={`${implementation} v${version}`} />
<Icon src={implIcon} /> {semver}
<Icon src={implIcon} /> {`${implementation} v${semver}`}
</td>
);
}
Expand Down

0 comments on commit 7f6519a

Please sign in to comment.