Update message and fix buttons

pull/16360/head
cgonzalez 3 years ago
parent 0bbdf156c1
commit 20085d39b0

@ -265,7 +265,8 @@ module.exports = CoreView.extend({
infoboxOpts.action = { label: _t('editor.layers.max-layers-infowindow.org.upgrade') };
}
baseState.onAction = function () { window.open('mailto:' + this._userModel.upgradeContactEmail()); };
const contactEmail = this._userModel.upgradeContactEmail();
baseState.onAction = function () { window.open('mailto:' + contactEmail); };
} else {
baseState.onAction = function () { window.open(_t('editor.layers.max-layers-infowindow.pricing')); };
infoboxOpts.body = _t('editor.layers.max-layers-infowindow.regular.body', { maxLayers: this._getMaxCount() });

@ -2367,7 +2367,7 @@
"upgrade": "Upgrade your account"
},
"org": {
"body": "Increase your layer limit by contacting the account's administrator.",
"body": "Ask your account's administrator to contact CARTO Support in order to increase the layer limit for your organization.",
"upgrade": "Contact admin"
},
"org-admin": {

2
package-lock.json generated

@ -1,6 +1,6 @@
{
"name": "cartodb-ui",
"version": "1.0.0-assets.269",
"version": "1.0.0-assets.270",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

@ -1,6 +1,6 @@
{
"name": "cartodb-ui",
"version": "1.0.0-assets.269",
"version": "1.0.0-assets.270",
"description": "CARTO UI frontend",
"repository": {
"type": "git",

Loading…
Cancel
Save