summaryrefslogtreecommitdiff
path: root/src/BattleRoyaleTab.vue
blob: 48d8b25aac904d67d154684433da7ce210b7ccb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<template>
  <div>
    <h2 class="title is-2">Battle Royale Hero Statistics</h2>
    <report-table :report="report" :totalPicks="totalPicks"></report-table>
  </div>
</template>

<script>
import Vue from 'vue';
import ReportTable from './ReportTable.vue';

export default Vue.component('battle-royale-tab', {
  props: [ 'reportService' ],
  data: function() {
    return {
      report: this.reportService.getReport('casual_aral'),
      totalPicks: this.reportService.getTotalPicks('casual_aral'),
    };
  },
  computed: {
  },
  components: {
    ReportTable,
  },
});
</script>