Newer
Older
<div *ngIf="getMyWatchLists() && getCurrentWatchList()" ngbDropdown>
<span jhiTranslate="gitsearchApp.userWatchList.currentList">Selected Bookmarkliste</span> <A [routerLink]="['/bookmarks']" style="font-weight: bold; cursor: pointer;">{{getCurrentWatchList()?getCurrentWatchList()!.userWatchList.name:'undefined'}}</A>
<!--
<button class="btn btn-outline-primary mr-2" id="dropdownManual" ngbDropdownToggle ngbDropdownAnchor>{{'gitsearchApp.userWatchList.selectedList'|translate}}<br/>{{getCurrentWatchList()?getCurrentWatchList()!.userWatchList.name:'undefined'}}</button>
<div ngbDropdownMenu aria-labelledby="dropdownManual" >
<button ngbDropdownItem *ngFor="let watchList of getMyWatchLists()" (click)="setCurrentWatchList(watchList.name)">{{watchList.name}}</button>