show 'No Reports Found' message when task list is empty and loading is complete
This commit is contained in:
parent
ce4b517ce5
commit
2ebd1a074f
@ -187,6 +187,13 @@ const DailyTask = () => {
|
||||
</td>
|
||||
</tr>
|
||||
)}
|
||||
{!task_loading && TaskList.length === 0 && (
|
||||
<tr>
|
||||
<td colSpan={7} className="text-center">
|
||||
<p>No Reports Found</p>
|
||||
</td>
|
||||
</tr>
|
||||
)}
|
||||
{dates.map((date, i) => {
|
||||
return (
|
||||
<React.Fragment key={i}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user