check array length.

pull/1/head
Jason Kulatunga 4 years ago
parent fa5a2381cc
commit c14f313fa1

@ -1,4 +1,4 @@
<div *ngIf="data && data.data; else emptyDashboard">
<div *ngIf="data && data.data && data.data.length > 0; else emptyDashboard">
<div class="flex flex-col flex-auto w-full p-8 xs:p-2">
<div class="flex flex-wrap w-full">

Loading…
Cancel
Save