show incidents for selected member and selected dates

This commit is contained in:
Bilal Catic
2019-06-19 00:23:40 +02:00
parent 0ccd2ff55c
commit 4166ff7a48
8 changed files with 200 additions and 5 deletions

View File

@@ -13,7 +13,8 @@ import {
const MemberIncidentsTable = props => {
const { loading, incidents, title } = props;
const { loading, title } = props;
const incidents = props.incidents ? props.incidents : [];
const columns = [];
if (incidents && incidents.length > 0){