Explorar o código

fix Event to JSON

tripeur %!s(int64=4) %!d(string=hai) anos
pai
achega
e24f7f59c7
Modificáronse 3 ficheiros con 2 adicións e 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,

A diferenza do arquivo foi suprimida porque é 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,

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio