Fix spotIcon classes on change

This commit is contained in:
2024-02-04 22:56:37 +01:00
parent 30a81b5341
commit b6fc305111

View File

@@ -6,9 +6,9 @@ export default {
margin: Boolean,
classes: String
},
data() {
return {
classNames: 'fa fa-'+this.icon+((this.margin || this.text && this.text!='')?' push':'')+(this.classes?' '+this.classes:'')
computed: {
classNames() {
return 'fa fa-'+this.icon+((this.margin || this.text && this.text!='')?' push':'')+(this.classes?' '+this.classes:'')
}
}
}