mirror of
https://github.com/nextcloud/server.git
synced 2026-03-19 09:05:01 -04:00
actually throttle restore
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
8cd8a07c79
commit
c8be52bc16
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ import PQueue from 'p-queue'
|
|||
this.fileMultiSelectMenu.toggleLoading('restore', true)
|
||||
var restorePromises = files.map(function(file) {
|
||||
return self.deleteOperationQueue.add(async () => {
|
||||
self.client.move(OC.joinPaths('trash', self.getCurrentDirectory(), file), OC.joinPaths('restore', file), true)
|
||||
await self.client.move(OC.joinPaths('trash', self.getCurrentDirectory(), file), OC.joinPaths('restore', file), true)
|
||||
self._removeCallback([file])
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue