summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-09-07 19:35:00 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:39 +0100
commit0a6136c1bdcb2b98166ad06c4bea523b8e197ee5 (patch)
treec2ed0828c8749209cab1267e14019af4cefc4576 /src
parent9f88bbb659d6650e26ced4310276f636c72a5673 (diff)
downloadbrokentalents-0a6136c1bdcb2b98166ad06c4bea523b8e197ee5.tar.gz
brokentalents-0a6136c1bdcb2b98166ad06c4bea523b8e197ee5.zip
Replace catchy subtitle by patch version
Diffstat (limited to 'src')
-rw-r--r--src/App.vue3
-rw-r--r--src/ReportService.js4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue
index faf7b25..5340703 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -7,7 +7,7 @@
Broken Talents
</h1>
<h2 class="subtitle has-text-white">
- Tilting Brawlers since Update 2.5
+ Vainglory {{ patchVersion }} meta statistics
</h2>
</div>
</div>
@@ -81,6 +81,7 @@ export default {
totalMatches: Math.floor(ReportService.getTotalMatches()/100)*100,
lastUpdate: ReportService.getLastUpdate(),
modes: ReportService.getModes(),
+ patchVersion: ReportService.getPatchVersion(),
getMode: maps.getMode,
};
},
diff --git a/src/ReportService.js b/src/ReportService.js
index b743d22..bfbebcf 100644
--- a/src/ReportService.js
+++ b/src/ReportService.js
@@ -294,6 +294,10 @@ export default {
return totalMatches;
},
+ getPatchVersion() {
+ return metadata.config.api.patchVersion;
+ },
+
getLastUpdate() {
return metadata.lastUpdate;
},