Jelajahi Sumber

when no cells

Adam Shaw 7 tahun lalu
induk
melakukan
0c3e30feba
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      src/basic/DayBgRow.ts

+ 4 - 0
src/basic/DayBgRow.ts

@@ -41,6 +41,10 @@ export default class DayBgRow {
       )
     }
 
+    if (!props.cells.length) {
+      parts.push('<td class="fc-day ' + this.context.theme.getClass('widgetContent')  + '"></td>')
+    }
+
     if (this.context.options.dir === 'rtl') {
       parts.reverse()
     }