Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Commit

Permalink
don't wait for folder op to return
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed May 30, 2022
1 parent 8eba0e3 commit 05f22db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/storage/AddFolderModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ export default {
for (let i = 1; i < this.splitCount + 1; i++) {
const subPath = path.join(this.path, `${this.subName}${i}`);
await this.createFolder(subPath, size);
this.createFolder(subPath, size);
this.createdCount++;
}
} else
await this.createFolder(this.path, this.sizeValue);
this.createFolder(this.path, this.sizeValue);
await refreshHostStorage();
this.$emit('close');
Expand Down
2 changes: 1 addition & 1 deletion src/components/storage/RemoveFolderModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default {
const client = new SiaApiClient(this.config);
await client.removeStorageFolder(this.folder.path, this.forceDelete);
client.removeStorageFolder(this.folder.path, this.forceDelete);
await refreshHostStorage();
this.pushNotification({
Expand Down
2 changes: 1 addition & 1 deletion src/components/storage/ResizeFolderModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default {
const client = new SiaApiClient(this.config);
await client.resizeStorageFolder(this.folder.path, this.sizeValue);
client.resizeStorageFolder(this.folder.path, this.sizeValue);
await refreshHostStorage();
this.pushNotification({
Expand Down

0 comments on commit 05f22db

Please sign in to comment.