Added version to stats page.

This commit is contained in:
DebaucheryLibrarian
2020-09-25 21:21:26 +02:00
parent 566c20ea7e
commit 3f843cc0fc
4 changed files with 27 additions and 4 deletions

View File

@@ -3,6 +3,8 @@
<div class="content-inner">
<h1 class="heading">Stats</h1>
<span class="version">Version {{ version }}</span>
<dl class="stat-table">
<div class="stat-row">
<dt class="stat-label">Networks</dt>
@@ -44,6 +46,8 @@ async function mounted() {
this.totalActors = stats.totalActors;
this.totalNetworks = stats.totalNetworks;
this.totalChannels = stats.totalChannels;
this.version = VERSION; // eslint-disable-line no-undef
}
export default {