|
|
@@ -119,9 +119,9 @@
|
|
|
|
|
|
<mat-menu #language="matMenu">
|
|
|
@for(lang of [
|
|
|
- {name:'en',label:'English',picture:'https://rem.swopt.com/media/images/flags/GBR.png'},
|
|
|
- {name:'zh',label:'简体中文',picture:'https://rem.swopt.com/media/images/flags/CHN.png'},
|
|
|
- {name:'ms',label:'Melayu',picture:'https://rem.swopt.com/media/images/flags/MAS.png'}
|
|
|
+ {name:'en',label:'English',picture:'https://cdn.swopt.com/media/images/flags/GBR.png'},
|
|
|
+ {name:'zh',label:'简体中文',picture:'https://cdn.swopt.com/media/images/flags/CHN.png'},
|
|
|
+ {name:'ms',label:'Melayu',picture:'https://cdn.swopt.com/media/images/flags/MAS.png'}
|
|
|
];track $index) {
|
|
|
<button mat-menu-item (click)="changeLanguage(lang.name)">
|
|
|
<div class="language-flag" [style.background-image]="'url('+lang.picture+')'"> </div>
|