This commit is contained in:
sshijun 2019-06-21 11:30:03 +08:00
parent 0798e0d795
commit 412c6389d1
2 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,7 @@
<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>
@ -97,6 +98,7 @@
<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>

View File

@ -264,4 +264,8 @@ clr-modal {
.table-box {
width: 20rem;
}
}
.display-none{
display: none;
}