Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
fix(gitprovider): show error message if repository name is not availa…
Browse files Browse the repository at this point in the history
…ble (#374)
  • Loading branch information
vikram-raj authored and bartoszmajsak committed Oct 10, 2018
1 parent 71e9587 commit 708681e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ <h3>Authorized Account Information</h3>
<div class="form-group">
<label for="ghRepo" class="col-sm-2 control-label">Repository</label>
<div class="col-sm-10"
[class.has-error]="ghRepo.invalid && (ghRepo.dirty || ghRepo.touched)">
[class.has-error]="ghRepo.invalid">
<input id="ghRepo" class="form-control" name="ghRepo" type="text" #ghRepo="ngModel" lowercase validateRepository required
placeholder="Enter a unique name for your repository"
[disabled]="!launcherComponent.summary.gitHubDetails.organization"
[(ngModel)]="launcherComponent.summary.gitHubDetails.repository">
<span class="help-block"
*ngIf="ghRepo.invalid && (ghRepo.dirty || ghRepo.touched)">
*ngIf="ghRepo.invalid">
<span *ngIf="ghRepo.errors.duplicate">
Duplicate Name: '{{ghRepo.value}}' is already in use
as {{launcherComponent.summary.gitHubDetails.organization}}/{{ghRepo.value}}.
Expand Down

0 comments on commit 708681e

Please sign in to comment.