Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 1x 1x 1x 1x 1x 1x | import { ChangeDetectionStrategy, Component } from '@angular/core';
import { WishlistsFacade } from '../../facades/wishlists.facade';
import { WishlistItem } from '../../models/wishlist/wishlist.model';
@Component({
selector: 'ish-wishlist-page',
templateUrl: './shared-wishlist-page.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class SharedWishlistPageComponent {
wishlist$ = this.wishlistsFacade.sharedWishlist$;
wishlistLoading$ = this.wishlistsFacade.wishlistLoading$;
constructor(private wishlistsFacade: WishlistsFacade) {}
trackByFn(_: number, item: WishlistItem) {
return item.id;
}
}
|