Better emty state label for items list when using custom metadata sorting.
This commit is contained in:
parent
4845f6eab7
commit
e480adb8ad
|
@ -779,7 +779,7 @@
|
|||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-items" />
|
||||
</span>
|
||||
</p>
|
||||
<p v-if="status == undefined || status == ''">{{ hasFiltered ? $i18n.get('info_no_item_found_filter') : $i18n.get('info_no_item_created') }}</p>
|
||||
<p v-if="status == undefined || status == ''">{{ hasFiltered ? (isSortingByCustomMetadata ? $i18n.get('info_no_item_found') : $i18n.get('info_no_item_found_filter')) : $i18n.get('info_no_item_created') }}</p>
|
||||
<p
|
||||
v-for="(statusOption, index) of $statusHelper.getStatuses()"
|
||||
:key="index"
|
||||
|
@ -788,7 +788,7 @@
|
|||
</p>
|
||||
|
||||
<router-link
|
||||
v-if="!hasFiltered && (status == undefined || status == '') && !$route.query.iframemode"
|
||||
v-if="!isSortingByCustomMetadata && !hasFiltered && (status == undefined || status == '') && !$route.query.iframemode"
|
||||
id="button-create-item"
|
||||
tag="button"
|
||||
class="button is-secondary"
|
||||
|
|
|
@ -755,7 +755,7 @@
|
|||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-items" />
|
||||
</span>
|
||||
</p>
|
||||
<p v-if="status == undefined || status == ''">{{ hasFiltered ? $i18n.get('info_no_item_found_filter') : $i18n.get('info_no_item_created') }}</p>
|
||||
<p v-if="status == undefined || status == ''">{{ hasFiltered ? (isSortingByCustomMetadata ? $i18n.get('info_no_item_found') : $i18n.get('info_no_item_found_filter')) : $i18n.get('info_no_item_created') }}</p>
|
||||
<p
|
||||
v-for="(statusOption, index) of $statusHelper.getStatuses()"
|
||||
:key="index"
|
||||
|
@ -764,7 +764,7 @@
|
|||
</p>
|
||||
|
||||
<router-link
|
||||
v-if="!hasFiltered && (status == undefined || status == '')"
|
||||
v-if="!isSortingByCustomMetadata && !hasFiltered && (status == undefined || status == '')"
|
||||
id="button-create-item"
|
||||
tag="button"
|
||||
class="button is-secondary"
|
||||
|
|
Loading…
Reference in New Issue