mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +00:00
fix: don't hide period selectors when no data
This commit is contained in:
parent
0c34a122d6
commit
0461976a5b
@ -5,7 +5,6 @@
|
|||||||
_('Top Expenses')
|
_('Top Expenses')
|
||||||
}}</template>
|
}}</template>
|
||||||
<PeriodSelector
|
<PeriodSelector
|
||||||
v-if="hasData"
|
|
||||||
slot="action"
|
slot="action"
|
||||||
:value="period"
|
:value="period"
|
||||||
@change="value => (period = value)"
|
@change="value => (period = value)"
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
<SectionHeader>
|
<SectionHeader>
|
||||||
<template slot="title">{{ _('Profit and Loss') }}</template>
|
<template slot="title">{{ _('Profit and Loss') }}</template>
|
||||||
<PeriodSelector
|
<PeriodSelector
|
||||||
v-if="hasData"
|
|
||||||
slot="action"
|
slot="action"
|
||||||
:value="period"
|
:value="period"
|
||||||
@change="value => (period = value)"
|
@change="value => (period = value)"
|
||||||
|
Loading…
Reference in New Issue
Block a user