[all mobile] for bug 49275

This commit is contained in:
Maxim Kadushkin 2022-02-15 11:27:08 +03:00
parent 6f26f84a68
commit 41d3e37774
4 changed files with 4 additions and 3 deletions

View file

@ -74,7 +74,7 @@ const Settings = props => {
setTimeout(() => {
if(config && !!config.feedback && !!config.feedback.url) {
window.open(config.feedback.url, "_blank");
} else window.open('{{SUPPORT_URL}}', "_blank");
} else window.open('{{__SUPPORT_URL__}}', "_blank");
}, 400);
}

View file

@ -117,7 +117,7 @@ const SettingsList = inject("storeAppOptions", "storeToolbarSettings")(observer(
closeModal();
if(config && !!config.feedback && !!config.feedback.url) {
window.open(config.feedback.url, "_blank");
} else window.open('{{SUPPORT_URL}}', "_blank");
} else window.open('{{__SUPPORT_URL__}}', "_blank");
};
const appOptions = props.storeAppOptions;

View file

@ -122,7 +122,7 @@ const SettingsList = inject("storeAppOptions")(observer(props => {
closeModal();
if(config && !!config.feedback && !!config.feedback.url) {
window.open(config.feedback.url, "_blank");
} else window.open('{{SUPPORT_URL}}', "_blank");
} else window.open('{{__SUPPORT_URL__}}', "_blank");
};
const appOptions = props.storeAppOptions;

View file

@ -169,6 +169,7 @@ module.exports = {
__PRODUCT_VERSION__: JSON.stringify(process.env.PRODUCT_VERSION ? process.env.PRODUCT_VERSION : '6.2.0d'),
__PUBLISHER_ADDRESS__: JSON.stringify(process.env.PUBLISHER_ADDRESS || '20A-12 Ernesta Birznieka-Upisha street, Riga, Latvia, EU, LV-1050'),
__SUPPORT_EMAIL__: JSON.stringify(process.env.SUPPORT_EMAIL || 'support@onlyoffice.com'),
__SUPPORT_URL__: JSON.stringify(process.env.SUPPORT_URL || 'https://support.onlyoffice.com'),
__PUBLISHER_PHONE__: JSON.stringify(process.env.PUBLISHER_PHONE || '+371 633-99867'),
__PUBLISHER_URL__: JSON.stringify(process.env.PUBLISHER_URL || 'https://www.onlyoffice.com'),
__PUBLISHER_NAME__: JSON.stringify(process.env.PUBLISHER_NAME || 'Ascensio System SIA'),