diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/App.vue | 3 | ||||
| -rw-r--r-- | src/ReportService.js | 4 |
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; }, |
