Skip to content

Commit

Permalink
fix bug goharbor#7829
Browse files Browse the repository at this point in the history
  • Loading branch information
sshijun committed Jun 26, 2019
1 parent c5bdcec commit 543b639
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -48,6 +48,7 @@ <h3 class="modal-title">{{headerTitle | translate}}</h3>
<div class="form-select">
<div class="select endpointSelect pull-left">
<select id="src_registry_id" (change)="sourceChange($event)" formControlName="src_registry" [compareWith]="equals">
<option class="display-none"></option>
<option *ngFor="let source of sourceList" [ngValue]="source">{{source.name}}-{{source.url}}</option>
</select>
</div>
Expand Down Expand Up @@ -97,6 +98,7 @@ <h3 class="modal-title">{{headerTitle | translate}}</h3>
<div class="form-select">
<div class="select endpointSelect pull-left">
<select id="dest_registry" (change)="targetChange($event)" formControlName="dest_registry" [compareWith]="equals">
<option class="display-none"></option>
<option *ngFor="let target of targetList" [ngValue]="target">{{target.name}}-{{target.url}}</option>
</select>
</div>
Expand Down
Expand Up @@ -264,4 +264,8 @@ clr-modal {
.table-box {
width: 20rem;
}
}

.display-none{
display: none;
}

0 comments on commit 543b639

Please sign in to comment.