Add a cancel button to event edit & make buttons fixed

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-01 20:10:53 +02:00
parent 587667078c
commit 0c732ab4f7
17 changed files with 258 additions and 167 deletions

View File

@@ -125,6 +125,8 @@ export interface IEvent {
tags: ITag[];
options: IEventOptions;
toEditJSON();
}
export interface IEventOptions {
@@ -228,7 +230,7 @@ export class EventModel implements IEvent {
if (hash.options) this.options = hash.options;
}
toEditJSON () {
toEditJSON() {
return {
id: this.id,
title: this.title,