mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Address: fix option regression
This commit is contained in:
parent
20cdec20d2
commit
aa0ff37479
@ -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;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user