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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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">