fix languages
This commit is contained in:
@@ -3,5 +3,11 @@ export function presentCompany(company: any) {
|
||||
}
|
||||
|
||||
export function presentBrand(brand: any) {
|
||||
return brand
|
||||
if (!brand) return brand
|
||||
const { amanpaySecretKey, amanpayMerchantId, paypalEmail, paypalMerchantId, ...safe } = brand
|
||||
return {
|
||||
...safe,
|
||||
amanpayConfigured: !!(amanpayMerchantId && amanpaySecretKey),
|
||||
paypalConfigured: !!(paypalEmail || paypalMerchantId),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user