diff options
Diffstat (limited to 'src/Highlights.vue')
| -rw-r--r-- | src/Highlights.vue | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Highlights.vue b/src/Highlights.vue index b98e792..02392ee 100644 --- a/src/Highlights.vue +++ b/src/Highlights.vue @@ -76,15 +76,12 @@ <script> import Vue from 'vue'; import TalentBox from './TalentBox.vue'; +import RouterParamMixin from './RouterParamMixin.js'; export default Vue.component('highlights', { props: [ 'reportService' ], + mixins: [ RouterParamMixin ], computed: { - selectedMode: { - get: function() { - return this.$route.query.mode; - }, - }, stats: function() { return { topWin: this.reportService.getTopWin(this.selectedMode), |
