2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +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>{{ frappe.format(d.total, 'Currency') }}</div>
</div> </div>
</div> </div>
<div class="w-1/2 relative"> <div class="w-1/2">
<div class="chart-wrapper" ref="top-expenses"></div> <div class="chart-wrapper" ref="top-expenses"></div>
<div <div
v-if="hasData" v-if="hasData"
@ -40,7 +40,7 @@
</div> </div>
</div> </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"> <span class="text-base text-gray-600">
{{ _('No transactions yet') }} {{ _('No transactions yet') }}
</span> </span>