ソースを参照

fix Event to JSON

tripeur 4 年 前
コミット
e24f7f59c7
3 ファイル変更2 行追加2 行削除
  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,

ファイルの差分が大きいため隠しています
+ 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,

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません