Parameters were renamed.

This commit is contained in:
Tatiana Lopaeva 2024-08-28 15:04:52 +03:00
parent 5c29e8ceaa
commit b93907eda3
4 changed files with 14 additions and 18 deletions

View File

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

View File

@ -115,8 +115,8 @@ const CreateUserForm = (props) => {
cultures,
i18n,
licenseUrl,
legalTerms,
privacyStatement,
} = props;
const currentCultureName = i18n.language;
@ -489,7 +489,7 @@ const CreateUserForm = (props) => {
<ColorTheme
tag="a"
themeId={ThemeId.Link}
href={legalTerms}
href={licenseUrl}
target="_blank"
fontSize={"12px"}
/>
@ -498,7 +498,7 @@ const CreateUserForm = (props) => {
<ColorTheme
tag="a"
themeId={ThemeId.Link}
href={privacyStatement}
href={legalTerms}
target="_blank"
fontSize={"12px"}
/>
@ -775,8 +775,8 @@ export default inject(({ settingsStore, authStore }) => {
currentColorScheme,
userNameRegex,
cultures,
licenseUrl,
legalTerms,
privacyStatement,
} = settingsStore;
return {
settings: passwordSettings,
@ -792,8 +792,8 @@ export default inject(({ settingsStore, authStore }) => {
userNameRegex,
cultures,
licenseUrl,
legalTerms,
privacyStatement,
};
})(
withCultureNames(

View File

@ -91,7 +91,7 @@ const Wizard = (props) => {
getIsRequiredLicense,
getPortalTimezones,
machineName,
sofwareLicense,
licenseUrl,
theme,
cultureNames,
culture,
@ -496,7 +496,7 @@ const Wizard = (props) => {
}
fontSize="13px"
target="_blank"
href={sofwareLicense}
href={licenseUrl}
>
{t("LicenseLink")}
</Link>
@ -523,7 +523,7 @@ export default inject(({ authStore, settingsStore, wizardStore }) => {
passwordSettings,
wizardToken,
timezone,
sofwareLicense,
licenseUrl,
hashSettings,
setWizardComplete,
getPortalTimezones,
@ -552,7 +552,7 @@ export default inject(({ authStore, settingsStore, wizardStore }) => {
wizardToken,
passwordSettings,
timezone,
sofwareLicense,
licenseUrl,
hashSettings,
isWizardLoaded,
machineName,

View File

@ -255,11 +255,7 @@ class SettingsStore {
apiDocsLink = null;
sofwareLicense = null;
legalTerms = null;
privacyStatement = null;
licenseUrl = null;
bookTrainingEmail = null;