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