浏览代码

clean out some old props

Adam Shaw 7 年之前
父节点
当前提交
b31d6c3fa3
共有 1 个文件被更改,包括 1 次插入8 次删除
  1. 1 8
      src/agenda/TimeGrid.ts

+ 1 - 8
src/agenda/TimeGrid.ts

@@ -71,11 +71,6 @@ export default class TimeGrid extends InteractiveDateComponent {
   highlightContainerEls: HTMLElement[]
   businessContainerEls: HTMLElement[]
 
-  // arrays of different types of displayed segments
-  helperSegs: any
-  highlightSegs: any
-  businessSegs: any
-
 
   constructor(view) {
     super(view)
@@ -479,9 +474,7 @@ export default class TimeGrid extends InteractiveDateComponent {
     this.slatCoordCache.build()
 
     if (isResize) {
-      this.updateSegVerticals(
-        [].concat(this.eventRenderer.getSegs(), this.businessSegs || [])
-      )
+      this.updateSegVerticals(this.eventRenderer.getSegs())
     }
   }