Enable name on card and hide it from settings

This commit is contained in:
Emili Castells Guasch 2024-05-06 12:28:14 +02:00
parent c1e51cb8a3
commit 2a20df9b6f
2 changed files with 6 additions and 5 deletions

View file

@ -642,10 +642,11 @@ class AxoManager {
}
cardComponentData() {
let fields = {};
if(this.axoConfig.name_on_card === '1') {
fields.cardholderName = {};
}
const fields = {
cardholderName: {
enabled: true
}
};
return {
fields: fields,