Help: Show LBRY ID in "About" section
This commit is contained in:
parent
a0fb58415e
commit
70076d8a9e
1 changed files with 7 additions and 1 deletions
|
@ -17,10 +17,12 @@ var HelpPage = React.createClass({
|
|||
document.title = "Help";
|
||||
},
|
||||
render: function() {
|
||||
let ver, osName, platform, newVerLink;
|
||||
let ver, osName, platform, newVerLink, lbryId;
|
||||
if (this.state.versionInfo) {
|
||||
ver = this.state.versionInfo;
|
||||
|
||||
lbryId = ver.lbry_id;
|
||||
|
||||
if (ver.os_system == 'Darwin') {
|
||||
osName = (parseInt(ver.os_release.match(/^\d+/)) < 16 ? 'Mac OS X' : 'Mac OS');
|
||||
|
||||
|
@ -80,6 +82,10 @@ var HelpPage = React.createClass({
|
|||
<th>Platform</th>
|
||||
<td>{platform}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Installation ID</th>
|
||||
<td>{lbryId}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue