Merge branch 'feature/thirdparty-integrations' of https://github.com/ONLYOFFICE/AppServer into feature/thirdparty-integrations
This commit is contained in:
commit
4c6538f849
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "asc-web-common",
|
||||
"version": "1.0.315",
|
||||
"version": "1.0.316",
|
||||
"description": "Ascensio System SIA common components and solutions library",
|
||||
"license": "AGPL-3.0",
|
||||
"files": [
|
||||
|
@ -25,10 +25,12 @@ 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 lang = localStorage["language"]
|
||||
? localStorage
|
||||
.getItem("language")
|
||||
.split("-")
|
||||
.find((el) => el[0])
|
||||
: "en";
|
||||
|
||||
const initialState = {
|
||||
isAuthenticated: false,
|
||||
|
Loading…
Reference in New Issue
Block a user