parent
1423a6b14b
commit
4edec81a0f
|
@ -1,16 +1,17 @@
|
|||
<ul class="compose-autosuggest-list">
|
||||
{#each items as item, i}
|
||||
{#each items as item, i (item.shortcode ? `emoji-${item.shortcode}` : `account-${item.id}`)}
|
||||
<li class="compose-autosuggest-list-item">
|
||||
<button class="compose-autosuggest-list-button {i === selected ? 'selected' : ''}"
|
||||
tabindex="0"
|
||||
on:click="onClick(event, item)">
|
||||
<div class="compose-autosuggest-list-grid">
|
||||
{#if type === 'account'}
|
||||
<div class="compose-autosuggest-list-item-avatar">
|
||||
<Avatar
|
||||
className="compose-autosuggest-list-item-avatar"
|
||||
size="small"
|
||||
account={item}
|
||||
/>
|
||||
</div>
|
||||
<span class="compose-autosuggest-list-display-name">
|
||||
<AccountDisplayName account={item} />
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue