[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">
|
<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>
|
||||||
|
|||||||
Reference in New Issue
Block a user