[Enhancement] Add a temporary image for channel if no image available (#231)

This commit is contained in:
Pranav Raj S 2019-11-21 12:08:54 +05:30 committed by GitHub
parent c914d94b18
commit e610a11bc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7 KiB

View file

@ -18,10 +18,17 @@
<tr v-for="item in inboxesList" :key="item.id"> <tr v-for="item in inboxesList" :key="item.id">
<td> <td>
<img <img
v-if="item.avatarUrl"
class="woot-thumbnail" class="woot-thumbnail"
:src="item.avatarUrl" :src="item.avatarUrl"
alt="No Page Image" alt="No Page Image"
/> />
<img
v-else
class="woot-thumbnail"
src="~dashboard/assets/images/flag.svg"
alt="No Page Image"
/>
</td> </td>
<!-- Short Code --> <!-- Short Code -->
<td> <td>