From c6265a9cb431b4da429f1d4c66ab5a85a0460096 Mon Sep 17 00:00:00 2001 From: Tatiana Lopaeva Date: Wed, 22 Sep 2021 11:03:47 +0300 Subject: [PATCH] Web: Editor: Fixed getting name and id of user for history. --- web/ASC.Web.Editor/src/Editor.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ASC.Web.Editor/src/Editor.jsx b/web/ASC.Web.Editor/src/Editor.jsx index 373b3db3ebb..e32ebd11dc6 100644 --- a/web/ASC.Web.Editor/src/Editor.jsx +++ b/web/ASC.Web.Editor/src/Editor.jsx @@ -497,8 +497,8 @@ const Editor = () => { ...(serverVersion && { serverVersion }), key: fileHistory[i].key, user: { - id: fileHistory[i].id, - name: fileHistory[i].displayName, + id: fileHistory[i].user.id, + name: fileHistory[i].user.displayName, }, version: fileHistory[i].version, };