[Enhancement] Add a temporary image for channel if no image available (#231)
This commit is contained in:
18
app/javascript/dashboard/assets/images/flag.svg
Normal file
18
app/javascript/dashboard/assets/images/flag.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 7.0 KiB |
@@ -18,10 +18,17 @@
|
||||
<tr v-for="item in inboxesList" :key="item.id">
|
||||
<td>
|
||||
<img
|
||||
v-if="item.avatarUrl"
|
||||
class="woot-thumbnail"
|
||||
:src="item.avatarUrl"
|
||||
alt="No Page Image"
|
||||
/>
|
||||
<img
|
||||
v-else
|
||||
class="woot-thumbnail"
|
||||
src="~dashboard/assets/images/flag.svg"
|
||||
alt="No Page Image"
|
||||
/>
|
||||
</td>
|
||||
<!-- Short Code -->
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user