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> <h6>{instances.length} Instances registered</h6>
<hr /> <hr />
<List> <List>
{instances.map(({ instanceId, clientIp, lastSeen }, i) => ( {instances.map(({ instanceId, clientIp, lastSeen, sdkVersion }, i) => (
<ListItem key={i} twoLine> <ListItem key={i} twoLine>
<ListItemContent <ListItemContent
icon="timeline" icon="timeline"
subtitle={ subtitle={
<span>{clientIp} last seen at <small>{formatFullDateTime(lastSeen)}</small></span> <span>{clientIp} last seen at <small>{formatFullDateTime(lastSeen)}</small></span>
}> }>
{instanceId} {instanceId} {sdkVersion ? `(${sdkVersion})` : ''}
</ListItemContent> </ListItemContent>
</ListItem> </ListItem>
))} ))}