Explorar el Código

fix Event to JSON

tripeur hace 4 años
padre
commit
e24f7f59c7
Se han modificado 3 ficheros con 2 adiciones y 2 borrados
  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,

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 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,

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio