diff --git a/products/ASC.Files/Client/src/components/pages/Home/Section/Body/FilesRowContent.js b/products/ASC.Files/Client/src/components/pages/Home/Section/Body/FilesRowContent.js index 4bc0c64268..66315312dc 100644 --- a/products/ASC.Files/Client/src/components/pages/Home/Section/Body/FilesRowContent.js +++ b/products/ASC.Files/Client/src/components/pages/Home/Section/Body/FilesRowContent.js @@ -211,18 +211,7 @@ class FilesRowContent extends React.PureComponent { return setEncryptionAccess(file).then((encryptedFile) => { if (!encryptedFile) return Promise.resolve(); toastr.info(t("EncryptedFileSaving")); - return replaceFileStream( - file.id, - encryptedFile, - true, - false - ).then(() => - toastr.success( - - File {{ itemTitle }} successfully created - - ) - ); + return replaceFileStream(file.id, encryptedFile, true, false); }); } return openDocEditor(file.id, tab, file.webUrl);