Fix category add button on dashboard when there are no categories
This commit is contained in:
parent
9f1537b281
commit
2b8580f8e8
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
<div class="dashboard-categories">
|
<div class="dashboard-categories">
|
||||||
<h3 class="categories">Categories</h3>
|
<h3 class="categories">Categories</h3>
|
||||||
<a routerLink="/categories" class="view-all" *ngIf="categories">View All</a>
|
<a routerLink="/categories" class="view-all" *ngIf="categories">View All</a>
|
||||||
<div class="no-categories" *ngIf="!categories">
|
<div class="no-categories" *ngIf="!categories || categories.length === 0">
|
||||||
<a routerLink="/categories/new">
|
<a routerLink="/categories/new">
|
||||||
<mat-icon>add</mat-icon>
|
<mat-icon>add</mat-icon>
|
||||||
<p>Add categories to get more insights into your income and expenses.</p>
|
<p>Add categories to get more insights into your income and expenses.</p>
|
||||||
|
|
Loading…
Reference in a new issue