Fix drilldown label in chart configurator
This commit is contained in:
@@ -36,12 +36,15 @@
|
||||
label-class="d-flex align-items-center text-primary"
|
||||
class="mb-1"
|
||||
>
|
||||
<c-input-checkbox
|
||||
v-model="options.drillDown.enabled"
|
||||
switch
|
||||
:labels="checkboxLabel"
|
||||
class="mb-2"
|
||||
/>
|
||||
<template #label>
|
||||
{{ $t('chart.drillDown.label') }}
|
||||
|
||||
<c-input-checkbox
|
||||
v-model="options.drillDown.enabled"
|
||||
switch
|
||||
class="ml-1"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<c-input-select
|
||||
v-model="options.drillDown.blockID"
|
||||
@@ -71,15 +74,6 @@ export default {
|
||||
|
||||
extends: base,
|
||||
|
||||
data () {
|
||||
return {
|
||||
checkboxLabel: {
|
||||
on: this.$t('general:label.yes'),
|
||||
off: this.$t('general:label.no'),
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapGetters({
|
||||
charts: 'chart/set',
|
||||
|
||||
Reference in New Issue
Block a user