Add empty state when search matches no requests

This commit is contained in:
Patrick Smith 2018-11-08 10:46:00 -05:00
parent 9b25c3b17f
commit dbdbbc4e9b

View File

@ -117,7 +117,7 @@
{% endif %}
<div class='responsive-table-wrapper'>
<table>
<table v-if="isExtended && filteredRequests.length">
<thead>
<tr>
<th @click.prevent="updateSortValue(column.attr)" v-for="column in getColumns()"scope="col">
@ -157,6 +157,15 @@
</tr>
</tbody>
</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>
{% endif %}