Web: Files: fixed rename folder promise error

This commit is contained in:
Nikita Gopienko 2020-04-27 09:49:37 +03:00
parent 72980c6bdd
commit e35d95d5d9

View File

@ -49,7 +49,7 @@ class FilesRowContent extends React.PureComponent {
? updateFile(fileAction.id, itemTitle) ? updateFile(fileAction.id, itemTitle)
.then(() => this.completeAction()).finally(() => onLoading(false)) .then(() => this.completeAction()).finally(() => onLoading(false))
: renameFolder(fileAction.id, itemTitle) : renameFolder(fileAction.id, itemTitle)
.then(() => this.completeAction().finally(() => onLoading(false))); .then(() => this.completeAction()).finally(() => onLoading(false));
}; };
createItem = () => { createItem = () => {