Parcourir la source

fix Event to JSON

tripeur il y a 4 ans
Parent
commit
e24f7f59c7
3 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      lib/Event.js
  2. 0 0
      lib/Event.js.map
  3. 1 1
      src/Event.ts

+ 1 - 1
lib/Event.js

@@ -39,7 +39,7 @@ class Event {
         const output = {
             id: this.id,
             start: this.startStr,
-            end: this.startStr,
+            end: this.endStr,
             title: this.title,
             ressourceId: this.ressourceId,
             editable: this.editable,

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
lib/Event.js.map


+ 1 - 1
src/Event.ts

@@ -66,7 +66,7 @@ export class Event implements IEvent, Selectable{
         const output:EventJSON =  {
             id:this.id,
             start:this.startStr,
-            end:this.startStr,
+            end:this.endStr,
             title:this.title,
             ressourceId:this.ressourceId,
             editable:this.editable,

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff