summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/app.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/app.component.html')
-rw-r--r--usecaseui-portal/src/app/app.component.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/app.component.html b/usecaseui-portal/src/app/app.component.html
index 8e189e73..df0890e6 100644
--- a/usecaseui-portal/src/app/app.component.html
+++ b/usecaseui-portal/src/app/app.component.html
@@ -59,16 +59,11 @@
</a>
</li>
</ul>
- <button (click)="changeLanguage('zh')" >{{"zh" | translate}}</button>
- <button (click)="changeLanguage('en')" >{{"en" | translate}}</button>
- <select name="Language" id="" [(ngModel)]="selectLanguage" (change)="changeLanguage1()">
- <option *ngFor="let item of Language" value="{{item}}">{{item | translate}}</option>
- </select>
<nz-dropdown [nzTrigger]="'click'" [nzPlacement]="'bottomRight'">
<button nz-button nz-dropdown><span>{{selectLanguage | translate}}</span> <i class="anticon anticon-down"></i></button>
<ul nz-menu>
- <li nz-menu-item (click)="changeLanguage2(item)" *ngFor="let item of Language">
+ <li nz-menu-item (click)="changeLanguage(item)" *ngFor="let item of Language">
<a>{{item | translate}}</a>
</li>
</ul>