1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00

Merge pull request #85 from Unleash/add_sdk_version

Display sdkVersion for instance if present
This commit is contained in:
Ivar Conradi Østhus 2017-06-29 11:53:41 +02:00 committed by GitHub
commit ee4e248ec3

View File

@ -117,14 +117,14 @@ class ClientApplications extends PureComponent {
<h6>{instances.length} Instances registered</h6>
<hr />
<List>
{instances.map(({ instanceId, clientIp, lastSeen }, i) => (
{instances.map(({ instanceId, clientIp, lastSeen, sdkVersion }, i) => (
<ListItem key={i} twoLine>
<ListItemContent
icon="timeline"
subtitle={
<span>{clientIp} last seen at <small>{formatFullDateTime(lastSeen)}</small></span>
}>
{instanceId}
{instanceId} {sdkVersion ? `(${sdkVersion})` : ''}
</ListItemContent>
</ListItem>
))}