client: fix duplicate folder when creating new folder

This commit is contained in:
Johann150 2022-12-22 17:32:05 +01:00
parent 240cf98920
commit d96070bc80
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -339,8 +339,6 @@ function createFolder() {
os.api('drive/folders/create', {
name,
parentId: folder?.id ?? undefined,
}).then(createdFolder => {
addFolder(createdFolder, true);
});
});
}