mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
fix: Show empty state if there are no items
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<section-header>
|
<section-header>
|
||||||
<h4>{{ __('Buying') }}</h4>
|
<h4>{{ __('Buying') }}</h4>
|
||||||
</section-header>
|
</section-header>
|
||||||
<div class="row" v-if="items">
|
<div class="row" v-if="items && items.length">
|
||||||
<div class="col-md-7 margin-bottom"
|
<div class="col-md-7 margin-bottom"
|
||||||
v-for="item of items"
|
v-for="item of items"
|
||||||
:key="item.name"
|
:key="item.name"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<section-header>
|
<section-header>
|
||||||
<h4>{{ __('Selling') }}</h4>
|
<h4>{{ __('Selling') }}</h4>
|
||||||
</section-header>
|
</section-header>
|
||||||
<div class="row" v-if="items">
|
<div class="row" v-if="items && items.length">
|
||||||
<div class="col-md-7"
|
<div class="col-md-7"
|
||||||
style="margin-bottom: 30px;"
|
style="margin-bottom: 30px;"
|
||||||
v-for="item of items"
|
v-for="item of items"
|
||||||
|
|||||||
Reference in New Issue
Block a user