2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00

fix(Expenses): Empty state

This commit is contained in:
Faris Ansari 2019-12-03 13:57:51 +05:30
parent 8e5f244554
commit 5595a22ebc

View File

@ -25,7 +25,7 @@
<div>{{ frappe.format(d.total, 'Currency') }}</div>
</div>
</div>
<div class="w-1/2 relative">
<div class="w-1/2">
<div class="chart-wrapper" ref="top-expenses"></div>
<div
v-if="hasData"
@ -40,7 +40,7 @@
</div>
</div>
</div>
<div class="absolute inset-0 flex justify-center items-center">
<div v-if="total === 0" class="absolute inset-0 flex justify-center items-center">
<span class="text-base text-gray-600">
{{ _('No transactions yet') }}
</span>