Skip to content

Commit

Permalink
Web: Editor: Fixed getting name and id of user for history.
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaLopaeva committed Dec 8, 2021
1 parent 5fa436e commit c6265a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/ASC.Web.Editor/src/Editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit c6265a9

Please sign in to comment.