diff --git a/etc/db_schema.xml b/etc/db_schema.xml index 40393d5d..bd27c3f8 100644 --- a/etc/db_schema.xml +++ b/etc/db_schema.xml @@ -58,9 +58,9 @@ - - - + + + diff --git a/view/frontend/web/js/core/checkout/PlatformConfig.js b/view/frontend/web/js/core/checkout/PlatformConfig.js index 9fcf6999..3889e35e 100644 --- a/view/frontend/web/js/core/checkout/PlatformConfig.js +++ b/view/frontend/web/js/core/checkout/PlatformConfig.js @@ -16,7 +16,7 @@ define([], () => { availableBrands[i] = { 'title': brands[i], - 'image': url + 'image': jQuery.isArray(url) ? url.find(element => element.includes('Pagarme')) : url }; }