Refactor
This commit is contained in:
parent
f577aacc34
commit
107d04c2c7
|
@ -76,13 +76,12 @@ export default {
|
|||
computed: {
|
||||
chartOptions() {
|
||||
return {
|
||||
plugins: this.hideLabels
|
||||
? {
|
||||
legend: {
|
||||
display: false
|
||||
}
|
||||
}
|
||||
: undefined,
|
||||
plugins: {
|
||||
legend: {
|
||||
display: !this.hideLabels
|
||||
}
|
||||
},
|
||||
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user