@ -53,7 +53,7 @@ export default function CollectionsMain() {
async function onDelete(collection: Etebase.Collection) {
const colMgr = getCollectionManager(etebase);
await collection.delete();
await collection.delete(true);
await dispatch(collectionUpload(colMgr, collection));
history.push(routeResolver.getRoute("collections"));
@ -114,7 +114,7 @@ export async function itemDelete(etebase: Etebase.Account, collection: Etebase.C
const meta = await eteItem.getMeta();
meta.mtime = mtime;
await eteItem.setMeta(meta);
await eteItem.delete();
await eteItem.delete(true);
await asyncDispatch(itemBatch(collection, itemMgr, [eteItem]));
}