Add empty state when search matches no requests
This commit is contained in:
parent
9b25c3b17f
commit
dbdbbc4e9b
@ -117,7 +117,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class='responsive-table-wrapper'>
|
<div class='responsive-table-wrapper'>
|
||||||
<table>
|
<table v-if="isExtended && filteredRequests.length">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th @click.prevent="updateSortValue(column.attr)" v-for="column in getColumns()"scope="col">
|
<th @click.prevent="updateSortValue(column.attr)" v-for="column in getColumns()"scope="col">
|
||||||
@ -157,6 +157,15 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<div v-else>
|
||||||
|
{{ EmptyState(
|
||||||
|
'No requests found.',
|
||||||
|
action_label=None,
|
||||||
|
action_href=None,
|
||||||
|
sub_message='Please try a different search.',
|
||||||
|
icon=None
|
||||||
|
) }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user