Merge branch 'feature/thirdparty-integrations' of github.com:ONLYOFFICE/AppServer into feature/thirdparty-integrations
This commit is contained in:
commit
993dfbf53d
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "asc-web-common",
|
||||
"version": "1.0.314",
|
||||
"version": "1.0.315",
|
||||
"description": "Ascensio System SIA common components and solutions library",
|
||||
"license": "AGPL-3.0",
|
||||
"files": [
|
||||
|
@ -25,6 +25,10 @@ import { LANGUAGE } from "../../constants";
|
||||
const desktop = window["AscDesktopEditor"] !== undefined;
|
||||
const desktopEncryption =
|
||||
desktop && typeof window.AscDesktopEditor.cloudCryptoCommand === "function";
|
||||
const lang = localStorage
|
||||
.getItem("language")
|
||||
.split("-")
|
||||
.find((el) => el[0]);
|
||||
|
||||
const initialState = {
|
||||
isAuthenticated: false,
|
||||
@ -58,8 +62,7 @@ const initialState = {
|
||||
enableAdmMess: false,
|
||||
urlLicense: "https://gnu.org/licenses/gpl-3.0.html",
|
||||
urlSupport: "https://helpdesk.onlyoffice.com/",
|
||||
urlAuthKeys:
|
||||
"https://helpcenter.onlyoffice.com/ru/installation/groups-authorization-keys.aspx",
|
||||
urlAuthKeys: `https://helpcenter.onlyoffice.com/${lang}/installation/groups-authorization-keys.aspx`,
|
||||
logoUrl: "",
|
||||
customNames: {
|
||||
id: "Common",
|
||||
|
Loading…
Reference in New Issue
Block a user