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:
commit
ee4e248ec3
@ -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>
|
||||
))}
|
||||
|
Loading…
Reference in New Issue
Block a user