From aa0ff37479d1ebdad1a1361ebec5c4a724264583 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Tue, 17 Aug 2021 09:04:58 +0200 Subject: [PATCH] Address: fix option regression --- .../Resources/public/vuejs/Address/components/AddAddress.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; },