Task lists WIP:

* front-end
This commit is contained in:
John Livingston
2024-05-06 15:57:42 +02:00
parent 9d5d59e9bc
commit 964b8854f6
11 changed files with 155 additions and 19 deletions

View File

@ -120,6 +120,10 @@ export class PubSubManager {
console.log(`Node ${this.node} created on ${this.roomJID}.`)
}
async deleteItems (items) {
await Promise.all[items.map(item => this.deleteItem(item))]
}
async deleteItem (item) {
const id = item.get('id')
if (!id) {