Add name to bridge info section

This commit is contained in:
hensm
2018-12-12 20:29:15 +00:00
parent 771233040f
commit 981b892a47
2 changed files with 7 additions and 0 deletions

View File

@@ -33,6 +33,9 @@
, "optionsBridgeInfo": { , "optionsBridgeInfo": {
"message": "Bridge info:" "message": "Bridge info:"
} }
, "optionsBridgeStatsName": {
"message": "Name:"
}
, "optionsBridgeStatsVersion": { , "optionsBridgeStatsVersion": {
"message": "Version:" "message": "Version:"
} }

View File

@@ -208,6 +208,10 @@ class App extends Component {
{ do { if (bridgeInfo) { { do { if (bridgeInfo) {
<table className="bridge__stats"> <table className="bridge__stats">
<tr>
<th>{ _("optionsBridgeStatsName") }</th>
<td>{ bridgeInfo.name }</td>
</tr>
<tr> <tr>
<th>{ _("optionsBridgeStatsVersion") }</th> <th>{ _("optionsBridgeStatsVersion") }</th>
<td>{ bridgeInfo.version }</td> <td>{ bridgeInfo.version }</td>