diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-09-20 09:13:50 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-09-20 10:39:50 +0300 |
commit | f829b181bc9e4e24a093bfdc191656b944ca0fb0 (patch) | |
tree | 1544da41935f869e337f3bdae6e0730861c683b5 /app/assets/javascripts/vue_shared/components/bar_chart.vue | |
parent | 0f50ba47fa7d726735918a181517fe50cda1f4bc (diff) |
Resolve eslint-plugin-vue errors
The eslint-plugin-vue upgrade had some breaking changes to
vue/attribute-order which needed to be resolved in order to avoid
disabling the rule entirely
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/bar_chart.vue')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/bar_chart.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/bar_chart.vue b/app/assets/javascripts/vue_shared/components/bar_chart.vue index 3ced4eb691a..33af7a7f1df 100644 --- a/app/assets/javascripts/vue_shared/components/bar_chart.vue +++ b/app/assets/javascripts/vue_shared/components/bar_chart.vue @@ -291,8 +291,8 @@ export default { <template v-for="(data, index) in graphData"> <rect - v-tooltip :key="index" + v-tooltip :width="xScale.bandwidth()" :x="xScale(data.name)" :y="yScale(data.value)" |