refac
This commit is contained in:
1 parent
2f37e853d1
commit
e1f96aa20e
1 file changed
+21
@@ -109,6 +109,10 @@
|
|||||||
suggestionsOpen = true;
|
suggestionsOpen = true;
|
||||||
positionPopup();
|
positionPopup();
|
||||||
}}
|
}}
|
||||||
|
on:click={() => {
|
||||||
|
suggestionsOpen = true;
|
||||||
|
positionPopup();
|
||||||
|
}}
|
||||||
on:input={() => {
|
on:input={() => {
|
||||||
suggestionsOpen = true;
|
suggestionsOpen = true;
|
||||||
positionPopup();
|
positionPopup();
|
||||||
@@ -170,6 +174,23 @@
|
|||||||
{#if voice.name && voice.name !== voice.id}
|
{#if voice.name && voice.name !== voice.id}
|
||||||
<span class="truncate text-gray-500 dark:text-gray-400">{voice.name}</span>
|
<span class="truncate text-gray-500 dark:text-gray-400">{voice.name}</span>
|
||||||
{/if}
|
{/if}
|
||||||
|
{#if selectedIds !== null && selectedIds.includes(voice.id)}
|
||||||
|
<svg
|
||||||
|
class="h-3.5 w-3.5 shrink-0 text-gray-500 dark:text-gray-400"
|
||||||
|
aria-hidden="true"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
fill="none"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
stroke-width="3"
|
||||||
|
d="m5 12 4.7 4.5 9.3-9"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
{/if}
|
||||||
</button>
|
</button>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user