Fixed: 'draggable' cannot be set to false. Closes #100

This commit is contained in:
sercan 2018-11-27 10:47:55 +03:00
parent 6db86a6b25
commit 68bd4436f4

View File

@ -38,7 +38,7 @@ export class CalendarEventModel
primary : data.color && data.color.primary || '#1e90ff', primary : data.color && data.color.primary || '#1e90ff',
secondary: data.color && data.color.secondary || '#D1E8FF' secondary: data.color && data.color.secondary || '#D1E8FF'
}; };
this.draggable = data.draggable || true; this.draggable = data.draggable;
this.resizable = { this.resizable = {
beforeStart: data.resizable && data.resizable.beforeStart || true, beforeStart: data.resizable && data.resizable.beforeStart || true,
afterEnd : data.resizable && data.resizable.afterEnd || true afterEnd : data.resizable && data.resizable.afterEnd || true