summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-21 15:56:26 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 16:59:35 +0100
commit365e27048fc9a17137fc3d5488103085384af1b9 (patch)
treea3cced82b57a3d43f9385d9f71a13e302a67fce6 /src
parentec8b0c51f872d2972a3deb6d6a836b9d9fd30141 (diff)
downloadbrokentalents-365e27048fc9a17137fc3d5488103085384af1b9.tar.gz
brokentalents-365e27048fc9a17137fc3d5488103085384af1b9.zip
Small component fixes
Diffstat (limited to 'src')
-rw-r--r--src/TopTalentsBox.vue8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/TopTalentsBox.vue b/src/TopTalentsBox.vue
index e84b366..eb73ef0 100644
--- a/src/TopTalentsBox.vue
+++ b/src/TopTalentsBox.vue
@@ -1,8 +1,6 @@
<template>
<div class="box">
<b-table :data="top10Talents"
- :default-sort="['Count', 'desc']"
- :default-sort-directon="'desc'"
:mobile-cards="false">
<template slot-scope="props">
<b-table-column field="Actor" label="Hero">
@@ -17,9 +15,7 @@
</b-table-column>
<b-table-column field="Winner" label="Win Rate" sortable numeric>
- <template v-if="!!props.row.Winner">
- {{ Math.round(100 * props.row.Winner) }}%
- </template>
+ <span>{{ Math.round(100 * props.row.Winner) }}%</span>
</b-table-column>
</template>
</b-table>
@@ -33,7 +29,7 @@ import HeroImage from './HeroImage.vue';
import RouterParamMixin from './RouterParamMixin.js';
import * as maps from './maps/maps';
-export default Vue.component('hero-search-box', {
+export default Vue.component('top-talents-box', {
props: [ 'reportService' ],
mixins: [ RouterParamMixin ],
data: function() {