diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/AddAddress.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/AddAddress.vue index e0c7ee506..d483534a7 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/AddAddress.vue +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/AddAddress.vue @@ -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; },