Web: Editor: Fixed getting name and id of user for history.

This commit is contained in:
Tatiana Lopaeva 2021-09-22 11:03:47 +03:00
parent 5fa436eb21
commit c6265a9cb4

View File

@ -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,
};