This commit is contained in:
Ruben Fiszel
2023-09-16 09:32:25 +02:00
parent 47094bb8d1
commit af873a65f2
2 changed files with 2 additions and 2 deletions
@@ -62,10 +62,10 @@
<CenteredModal title="Invitation to join {workspace_id}">
<label class="block pb-2">
<span class="text-secondary text-sm">Your username in workspace {workspace_id}:</span>
<input on:keyup={handleKey} bind:value={username} class:input-error={errorUsername != ''} />
{#if errorUsername}
<span class="text-red-500 text-xs">{errorUsername}</span>
{/if}
<input on:keyup={handleKey} bind:value={username} class:input-error={errorUsername != ''} />
</label>
<div class="flex flex-row justify-between pt-4 gap-x-1">
<Button variant="border" size="sm" href="/user/workspaces"
@@ -122,10 +122,10 @@
</label>
<label class="block pb-2">
<span class="text-secondary text-sm">Your username in that workspace</span>
<input type="text" bind:value={username} on:keyup={handleKeyUp} />
{#if errorUser}
<span class="text-red-500 text-xs">{errorUser}</span>
{/if}
<input type="text" bind:value={username} on:keyup={handleKeyUp} />
</label>
<Toggle
disabled={!isDomainAllowed}