mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
rename variable displayText
This commit is contained in:
@@ -52,7 +52,7 @@ export default {
|
||||
},
|
||||
type: window.buttonType || null,
|
||||
size: window.buttonSize || null,
|
||||
display: window.buttonDisplay //boolean, default: true
|
||||
displayText: window.buttonDisplayText //boolean, default: true
|
||||
},
|
||||
|
||||
/// Modal title text if create or edit address (trans chain, see i18n)
|
||||
|
@@ -146,7 +146,7 @@ export default {
|
||||
button: {
|
||||
text: { create: 'add_an_address_title', edit: 'edit_address' },
|
||||
type: 'btn-create',
|
||||
display: true
|
||||
displayText: true
|
||||
},
|
||||
title: { create: 'add_an_address_title', edit: 'edit_address' },
|
||||
bindModal: {
|
||||
@@ -232,8 +232,8 @@ export default {
|
||||
return size ? `${size} ${type}` : type;
|
||||
},
|
||||
displayTextButton() {
|
||||
return (typeof this.options.button !== 'undefined' && typeof this.options.button.display !== 'undefined') ?
|
||||
this.options.button.display : this.default.button.display;
|
||||
return (typeof this.options.button !== 'undefined' && typeof this.options.button.displayText !== 'undefined') ?
|
||||
this.options.button.displayText : this.default.button.displayText;
|
||||
},
|
||||
context() {
|
||||
return this.context;
|
||||
|
Reference in New Issue
Block a user