|
|
|
@ -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() });
|
|
|
|
|