Client/Shared: There was a variable replacement.

This commit is contained in:
Tatiana Lopaeva 2024-08-27 11:13:10 +03:00
parent 4643144e83
commit 94d36be730
3 changed files with 10 additions and 12 deletions

View File

@ -106,7 +106,7 @@ const AboutContent = (props) => {
companyInfoSettingsData, companyInfoSettingsData,
previewData, previewData,
standalone, standalone,
licenseUrl, sofwareLicense,
isEnterprise, isEnterprise,
} = props; } = props;
const { t } = useTranslation(["About", "Common"]); const { t } = useTranslation(["About", "Common"]);
@ -214,7 +214,7 @@ const AboutContent = (props) => {
className="row-el" className="row-el"
fontSize="13px" fontSize="13px"
fontWeight="600" fontWeight="600"
href={licenseUrl} href={sofwareLicense}
target="_blank" target="_blank"
enableUserSelect enableUserSelect
> >
@ -293,7 +293,7 @@ const AboutContent = (props) => {
}; };
export default inject(({ settingsStore, currentTariffStatusStore }) => { export default inject(({ settingsStore, currentTariffStatusStore }) => {
const { theme, companyInfoSettingsData, standalone, licenseUrl } = const { theme, companyInfoSettingsData, standalone, sofwareLicense } =
settingsStore; settingsStore;
const { isEnterprise } = currentTariffStatusStore; const { isEnterprise } = currentTariffStatusStore;
@ -301,7 +301,7 @@ export default inject(({ settingsStore, currentTariffStatusStore }) => {
theme, theme,
companyInfoSettingsData, companyInfoSettingsData,
standalone, standalone,
licenseUrl, sofwareLicense,
isEnterprise, isEnterprise,
}; };
})(observer(AboutContent)); })(observer(AboutContent));

View File

@ -91,7 +91,7 @@ const Wizard = (props) => {
getIsRequiredLicense, getIsRequiredLicense,
getPortalTimezones, getPortalTimezones,
machineName, machineName,
urlLicense, sofwareLicense,
theme, theme,
cultureNames, cultureNames,
culture, culture,
@ -497,8 +497,8 @@ const Wizard = (props) => {
fontSize="13px" fontSize="13px"
target="_blank" target="_blank"
href={ href={
urlLicense sofwareLicense
? urlLicense ? sofwareLicense
: "https://gnu.org/licenses/gpl-3.0.html" : "https://gnu.org/licenses/gpl-3.0.html"
} }
> >
@ -527,7 +527,7 @@ export default inject(({ authStore, settingsStore, wizardStore }) => {
passwordSettings, passwordSettings,
wizardToken, wizardToken,
timezone, timezone,
urlLicense, sofwareLicense,
hashSettings, hashSettings,
setWizardComplete, setWizardComplete,
getPortalTimezones, getPortalTimezones,
@ -556,7 +556,7 @@ export default inject(({ authStore, settingsStore, wizardStore }) => {
wizardToken, wizardToken,
passwordSettings, passwordSettings,
timezone, timezone,
urlLicense, sofwareLicense,
hashSettings, hashSettings,
isWizardLoaded, isWizardLoaded,
machineName, machineName,

View File

@ -162,8 +162,6 @@ class SettingsStore {
enabledJoin = false; enabledJoin = false;
urlLicense = "https://gnu.org/licenses/gpl-3.0.html";
urlSupport = "https://helpdesk.onlyoffice.com/"; urlSupport = "https://helpdesk.onlyoffice.com/";
forumLink = null; forumLink = null;
@ -257,7 +255,7 @@ class SettingsStore {
apiDocsLink = null; apiDocsLink = null;
licenseUrl = null; sofwareLicense = null;
bookTrainingEmail = null; bookTrainingEmail = null;