Add note for empty state to the lists using slot

This commit is contained in:
taehoon 2019-02-14 03:16:37 -05:00
parent b4a5b5203f
commit a5162bd636
3 changed files with 21 additions and 4 deletions

View file

@ -164,11 +164,15 @@
</div>
<div :label="$t('settings.blocks_tab')">
<block-list :refresh="true" />
<block-list :refresh="true">
<template slot="empty">No blocks</template>
</block-list>
</div>
<div :label="$t('settings.mutes_tab')">
<mute-list :refresh="true" />
<mute-list :refresh="true">
<template slot="empty">No mutes</template>
</mute-list>
</div>
</tab-switcher>
</div>