diff --git a/public/plugins/vue/tt-components/tt-button.js b/public/plugins/vue/tt-components/tt-button.js index f5e28f50c..65e7f0f2a 100644 --- a/public/plugins/vue/tt-components/tt-button.js +++ b/public/plugins/vue/tt-components/tt-button.js @@ -30,6 +30,8 @@ Vue.component('tt-button', { 'btn-sm': this.sm, } + if (!this.additionalClass) return classes + for (const className of this.additionalClass.split(' ')) { classes[className] = true }