Fix drilldown label in chart configurator

This commit is contained in:
Jože Fortun
2024-06-12 16:08:57 +02:00
parent 0e63870ece
commit 9784d401d1
@@ -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',