Add a cancel button to event edit & make buttons fixed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user