This commit is contained in:
Timothy Jaeryang Baek 2025-11-27 08:20:14 -05:00
parent 289801b608
commit ad86707605

View file

@ -118,19 +118,21 @@
submitHandler(); submitHandler();
}} }}
> >
<div class="flex flex-col w-full mt-2"> {#if !edit}
<div class=" mb-1 text-xs text-gray-500">{$i18n.t('Channel Type')}</div> <div class="flex flex-col w-full mt-2">
<div class=" mb-1 text-xs text-gray-500">{$i18n.t('Channel Type')}</div>
<div class="flex-1"> <div class="flex-1">
<select <select
class="w-full text-sm bg-transparent placeholder:text-gray-300 dark:placeholder:text-gray-700 outline-hidden" class="w-full text-sm bg-transparent placeholder:text-gray-300 dark:placeholder:text-gray-700 outline-hidden"
bind:value={type} bind:value={type}
> >
<option value="">{$i18n.t('Channel')}</option> <option value="">{$i18n.t('Channel')}</option>
<option value="dm">{$i18n.t('Direct Message')}</option> <option value="dm">{$i18n.t('Direct Message')}</option>
</select> </select>
</div>
</div> </div>
</div> {/if}
<div class="flex flex-col w-full mt-2"> <div class="flex flex-col w-full mt-2">
<div class=" mb-1 text-xs text-gray-500"> <div class=" mb-1 text-xs text-gray-500">
@ -152,7 +154,7 @@
</div> </div>
</div> </div>
<hr class=" border-gray-100 dark:border-gray-700/10 my-2.5 w-full" /> <hr class=" border-gray-100/40 dark:border-gray-700/10 my-2.5 w-full" />
<div class="-mx-2"> <div class="-mx-2">
{#if type === 'dm'} {#if type === 'dm'}