mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
Address: fix option regression
This commit is contained in:
@@ -226,8 +226,8 @@ export default {
|
||||
let type = this.default.button.type,
|
||||
size = '';
|
||||
if (typeof this.options.button !== 'undefined') {
|
||||
type = typeof this.options.button.type !== 'undefined' ? this.options.button.type : type;
|
||||
size = typeof this.options.button.size !== 'undefined' ? this.options.button.size : size;
|
||||
type = this.options.button.type !== null ? this.options.button.type : type;
|
||||
size = this.options.button.size !== null ? this.options.button.size : size;
|
||||
}
|
||||
return size ? `${size} ${type}` : type;
|
||||
},
|
||||
|
Reference in New Issue
Block a user