This commit is contained in:
Nolan Lawson 2018-02-14 18:17:17 -08:00
parent 9fc39c5322
commit 58cfd9db38
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,10 @@
<input class="new-instance-input" type="text" id="instanceInput" <input class="new-instance-input" type="text" id="instanceInput"
bind:value='$instanceNameInSearch' placeholder='' required bind:value='$instanceNameInSearch' placeholder='' required
> >
<button class="primary" type="submit" id="submitButton" disabled="{{!$instanceNameInSearch}}">Add instance</button> <button class="primary" type="submit" id="submitButton"
disabled="{{!$instanceNameInSearch || $logInToInstanceLoading}}">
Add instance
</button>
</form> </form>
{{#if !$isUserLoggedIn}} {{#if !$isUserLoggedIn}}