diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-21 15:56:26 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 16:59:35 +0100 |
| commit | 365e27048fc9a17137fc3d5488103085384af1b9 (patch) | |
| tree | a3cced82b57a3d43f9385d9f71a13e302a67fce6 /src | |
| parent | ec8b0c51f872d2972a3deb6d6a836b9d9fd30141 (diff) | |
| download | brokentalents-365e27048fc9a17137fc3d5488103085384af1b9.tar.gz brokentalents-365e27048fc9a17137fc3d5488103085384af1b9.zip | |
Small component fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/TopTalentsBox.vue | 8 |
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() { |
