fix: show error message when instance name is empty at signup

Fixed the error of entering a blank name instead of entering a name on the registration page.
This commit is contained in:
Fatih Yılmaz
2025-01-22 04:01:44 +03:00
committed by GitHub
parent 3bd283085e
commit af3360daee

View File

@@ -144,7 +144,9 @@
</div>
<div style="font-size: 15px; padding: 5px">
{#if $instanceInfo.fetching}
{#if $instanceNameField === ''}
<span class="text-error">Please enter an instance name</span>
{:else if $instanceInfo.fetching}
Verifying...
{:else if $instanceInfo.available}
<span class="text-success">