[Enhancement] Add a temporary image for channel if no image available (#231)
This commit is contained in:
parent
c914d94b18
commit
e610a11bc5
2 changed files with 25 additions and 0 deletions
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 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>
|
||||||
|
|
Loading…
Reference in a new issue