diff --git a/packages/client/src/pages/About/AboutContent.js b/packages/client/src/pages/About/AboutContent.js index 839c521904..31e67b5a57 100644 --- a/packages/client/src/pages/About/AboutContent.js +++ b/packages/client/src/pages/About/AboutContent.js @@ -106,7 +106,7 @@ const AboutContent = (props) => { companyInfoSettingsData, previewData, standalone, - licenseUrl, + sofwareLicense, isEnterprise, } = props; const { t } = useTranslation(["About", "Common"]); @@ -214,7 +214,7 @@ const AboutContent = (props) => { className="row-el" fontSize="13px" fontWeight="600" - href={licenseUrl} + href={sofwareLicense} target="_blank" enableUserSelect > @@ -293,7 +293,7 @@ const AboutContent = (props) => { }; export default inject(({ settingsStore, currentTariffStatusStore }) => { - const { theme, companyInfoSettingsData, standalone, licenseUrl } = + const { theme, companyInfoSettingsData, standalone, sofwareLicense } = settingsStore; const { isEnterprise } = currentTariffStatusStore; @@ -301,7 +301,7 @@ export default inject(({ settingsStore, currentTariffStatusStore }) => { theme, companyInfoSettingsData, standalone, - licenseUrl, + sofwareLicense, isEnterprise, }; })(observer(AboutContent)); diff --git a/packages/client/src/pages/Wizard/index.js b/packages/client/src/pages/Wizard/index.js index b03b63c9de..e891a3970a 100644 --- a/packages/client/src/pages/Wizard/index.js +++ b/packages/client/src/pages/Wizard/index.js @@ -91,7 +91,7 @@ const Wizard = (props) => { getIsRequiredLicense, getPortalTimezones, machineName, - urlLicense, + sofwareLicense, theme, cultureNames, culture, @@ -497,8 +497,8 @@ const Wizard = (props) => { fontSize="13px" target="_blank" href={ - urlLicense - ? urlLicense + sofwareLicense + ? sofwareLicense : "https://gnu.org/licenses/gpl-3.0.html" } > @@ -527,7 +527,7 @@ export default inject(({ authStore, settingsStore, wizardStore }) => { passwordSettings, wizardToken, timezone, - urlLicense, + sofwareLicense, hashSettings, setWizardComplete, getPortalTimezones, @@ -556,7 +556,7 @@ export default inject(({ authStore, settingsStore, wizardStore }) => { wizardToken, passwordSettings, timezone, - urlLicense, + sofwareLicense, hashSettings, isWizardLoaded, machineName, diff --git a/packages/shared/store/SettingsStore.ts b/packages/shared/store/SettingsStore.ts index 7b43a14374..887486ccfe 100644 --- a/packages/shared/store/SettingsStore.ts +++ b/packages/shared/store/SettingsStore.ts @@ -162,8 +162,6 @@ class SettingsStore { enabledJoin = false; - urlLicense = "https://gnu.org/licenses/gpl-3.0.html"; - urlSupport = "https://helpdesk.onlyoffice.com/"; forumLink = null; @@ -257,7 +255,7 @@ class SettingsStore { apiDocsLink = null; - licenseUrl = null; + sofwareLicense = null; bookTrainingEmail = null;