Reorg and minor fixes to search history

This commit is contained in:
Mr. Stallion 2020-04-03 09:52:10 -05:00
parent a599e17e1b
commit 01b92e2415
2 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Channel Ads for <user :character="character">{{character.name}}</user>
</template>
<div class="row ad-viewer" ref="pageBody">
<div class="row ad-viewer" ref="pageBody" v-if="messages.length > 0">
<template v-for="message in messages">
<h3>#{{message.channelName}} <span class="message-time">{{formatTime(message.datePosted)}}</span></h3>
<div class="border-bottom">
@ -13,6 +13,10 @@
</template>
</div>
<div class="row ad-viewer" ref="pageBody" v-else>
<i>Character has not posted any ads.</i>
</div>
</modal>
</template>