From ecb5c7fba243588a5cc2bf37744453420d408ff2 Mon Sep 17 00:00:00 2001 From: gopienkonikita Date: Thu, 17 Feb 2022 15:12:54 +0300 Subject: [PATCH] =?UTF-8?q?Fixed=20Bug=2055614=20-=20Client.ExternalLink.?= =?UTF-8?q?=20=E2=80=98404=20Not=20Found=E2=80=99=20when=20opening=20an=20?= =?UTF-8?q?external=20link.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/ASC.Web.Editor/src/Editor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/ASC.Web.Editor/src/Editor.jsx b/web/ASC.Web.Editor/src/Editor.jsx index eb92590f46..d29dfa17e5 100644 --- a/web/ASC.Web.Editor/src/Editor.jsx +++ b/web/ASC.Web.Editor/src/Editor.jsx @@ -210,11 +210,11 @@ const Editor = () => { //showLoader(); const docApiUrl = await getDocServiceUrl(); - filesSettings = await getSettingsFiles(); try { await authStore.init(true); user = authStore.userStore.user; + if (user) filesSettings = await getSettingsFiles(); personal = authStore.settingsStore.personal; successAuth = !!user; } catch (e) {