zhuth 6 năm trước cách đây
mục cha
commit
aea78ecf1c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      kanban-client/app/component/Table.jsx

+ 1 - 1
kanban-client/app/component/Table.jsx

@@ -280,7 +280,7 @@ class TableModel extends React.Component {
 				for(let k in cells) {
 					cell.style[k] = cells[k];
 				}
-				if(stripeRows.length > 0) {
+				if(stripeRows && stripeRows.length > 0) {
 					cell.style.backgroundColor = stripeRows[j%2];
 				}
 			}