mirror of
https://github.com/frappe/books.git
synced 2024-11-09 23:30:56 +00:00
fix(ux): show view month and year on changing days
This commit is contained in:
parent
f6ce646477
commit
5996b35a8f
@ -2,7 +2,13 @@
|
||||
<div>
|
||||
<!-- Datetime header -->
|
||||
<div class="flex justify-between items-center text-sm px-4 pt-4">
|
||||
<div class="text-blue-500">
|
||||
<div
|
||||
v-if="viewMonth !== month || viewYear !== year"
|
||||
class="text-gray-900"
|
||||
>
|
||||
{{ `${months[viewMonth]}, ${viewYear}` }}
|
||||
</div>
|
||||
<div v-else class="text-blue-500">
|
||||
{{ datetimeString }}
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user