1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

All: Ensure that shared notebook children are not deleted when shared, unshared and shared again, and a conflict happens

This commit is contained in:
Laurent Cozic
2021-10-15 12:38:14 +01:00
parent eba1d6df56
commit ccf9882452
5 changed files with 86 additions and 26 deletions

View File

@@ -236,7 +236,7 @@ export default class BaseItem extends BaseModel {
return ItemClass.delete(id);
}
static async delete(id: string, options: any = null) {
static async delete(id: string, options: DeleteOptions = null) {
return this.batchDelete([id], options);
}