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, margin: Boolean,
classes: String classes: String
}, },
data() { computed: {
return { classNames() {
classNames: 'fa fa-'+this.icon+((this.margin || this.text && this.text!='')?' push':'')+(this.classes?' '+this.classes:'') return 'fa fa-'+this.icon+((this.margin || this.text && this.text!='')?' push':'')+(this.classes?' '+this.classes:'')
} }
} }
} }