diff --git a/public/js/components/DashboardWidget/Default.js b/public/js/components/DashboardWidget/Default.js index 29e3880dd..859528ca5 100644 --- a/public/js/components/DashboardWidget/Default.js +++ b/public/js/components/DashboardWidget/Default.js @@ -4,10 +4,15 @@ export default { mixins: [ AbstractWidget ], + computed: { + css() { + return ['dashboard-widget-default', this.config.css]; + } + }, created() { this.$emit('setConfig', false) }, - template: `
+ template: `
{{ config.title }}

{{ config.msg }}

`