Web: Files: fixed rename folder promise error
This commit is contained in:
parent
72980c6bdd
commit
e35d95d5d9
@ -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 = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user