Display message when search returns no members

This commit is contained in:
Montana
2018-10-26 12:01:49 -04:00
parent 9d2a48bd5d
commit 6ab4867d3c

View File

@@ -79,7 +79,7 @@
</form> </form>
<div class='responsive-table-wrapper'> <div class='responsive-table-wrapper'>
<table> <table v-if='searchedList && searchedList.length'>
<thead> <thead>
<tr> <tr>
<th scope="col" width="50%">Name</th> <th scope="col" width="50%">Name</th>
@@ -105,6 +105,15 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div v-else>
{{ EmptyState(
'No members found.',
action_label=None,
action_href=None,
sub_message='Please try a different search.',
icon=None
) }}
</div>
</div> </div>
</div> </div>
</members-list> </members-list>