fix(web): fallback also in actor header
This commit is contained in:
parent
0d70f6d3a6
commit
a7e320547a
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ pub fn ActorHeader() -> impl IntoView {
|
|||
<table class="pl-2 pr-2 align w-100" style="table-layout: fixed">
|
||||
<tr>
|
||||
<td rowspan=4 style="width: 8em">
|
||||
<img class="avatar avatar-border mr-s" src={avatar_url} style="height: 7em; width: 7em"/>
|
||||
<img class="avatar avatar-border mr-s" src={avatar_url} style="height: 7em; width: 7em" onerror={format!("this.onerror=null; this.src='{FALLBACK_IMAGE_URL}';")} />
|
||||
</td>
|
||||
<td rowspan=2 class="bottom">
|
||||
<b class="big">{name}</b>{actor_type_tag}
|
||||
|
|
Loading…
Reference in a new issue