Skip to content

Commit

Permalink
drive copy - make sure spinner is shown until all files copied
Browse files Browse the repository at this point in the history
  • Loading branch information
kevodwyer committed Nov 21, 2024
1 parent 15b8d28 commit 33e23b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/Drive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2353,9 +2353,10 @@ module.exports = {
target.getLatest(this.context.network).thenApply(updatedTarget => {
fileTreeNode.copyTo(updatedTarget, that.context).thenApply(function () {
that.updateUsage(usageBytes => {
that.updateCurrentDirectory(null , () =>
that.updateCurrentDirectory(null , () => {
that.showSpinner = true;
that.reduceCopy(index + 1, fileTreeNodes, updatedTarget, future)
);
});
});
}).exceptionally(function (throwable) {
that.updateCurrentDirectory(null , () => {
Expand Down

0 comments on commit 33e23b5

Please sign in to comment.