Client/Shared: There was a variable replacement.
This commit is contained in:
parent
4643144e83
commit
94d36be730
@ -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));
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user