Newer
Older
import { Component } from '@angular/core';
import { WatchlistManager } from 'app/shared/watchlist/watchlist-manager';
import { IUserWatchList, UserWatchListWithContent } from 'app/shared/model/user-watch-list.model';
selector: 'jhi-bookmark-info',
templateUrl: './bookmarkInfo.component.html',
styleUrls: ['./bookmarkInfo.component.scss'],
private watchlistManager: WatchlistManager,
return this.watchlistManager.getMyWatchLists();
getCurrentWatchList(): UserWatchListWithContent | undefined {
setCurrentWatchList(watchListName: string): void {
this.watchlistManager.setCurrentWatchList(watchListName);
}