added edit modal. info popover. create modal. delete functionality. delete modal

This commit is contained in:
2025-06-16 18:20:04 +02:00
parent 01c57f24a1
commit c4daa88ea2
7 changed files with 239 additions and 96 deletions

View File

@@ -29,6 +29,15 @@ export class Event {
}
}
updateWithSimple(simple: SimpleEvent): Event {
this.title = simple.title
this.from = simple.from
this.to = simple.to
this.description = simple.description
return this
}
static fromSimple(event: SimpleEvent): Event {
return new Event(event.title, event.from, event.to, event.description)
}