1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Display sdkVersion for instance if present

This commit is contained in:
Ivar 2017-06-28 23:36:28 +02:00
parent 4f48a65462
commit f7d8c77597

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>
))} ))}