Created
June 5, 2020 18:55
-
-
Save michael-mckenna/2d1ce87c027dc62f6526d721506f7434 to your computer and use it in GitHub Desktop.
Channel List Component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
channels$: Observable<Channel[]>; | |
selectedChannel$: Observable<Channel>; | |
constructor(public channelService: ChannelService) { | |
this.channels$ = channelService.channelsChanged$; | |
this.selectedChannel$ = channelService.selectedChannel$; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment