mirror of
https://github.com/pockethost/pockethost.git
synced 2026-03-11 11:14:56 +00:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user