mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 01:56:16 -08:00
refactor: resolve some issues after refactoring
This commit is contained in:
1 parent
384b7146f4
commit
b9e75a16d2
4 files changed
+5
-3
No files matched your search
@@ -21,7 +21,7 @@ export class SidebarComponent {
|
||||
sidebarView: SidebarView = 'CHANNELS';
|
||||
|
||||
constructor(
|
||||
private dataService: DataService,
|
||||
public dataService: DataService,
|
||||
private router: Router,
|
||||
private store: Store
|
||||
) {}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<button
|
||||
*ngIf="isEpgAvailable$ | async"
|
||||
mat-icon-button
|
||||
(click)="openMultiEpgView()"
|
||||
(click)="multiEpgClicked.emit()"
|
||||
[matTooltip]="'TOP_MENU.OPEN_MULTI_EPG' | translate"
|
||||
>
|
||||
<mat-icon>view_list</mat-icon>
|
||||
|
||||
@@ -17,6 +17,7 @@ import {
|
||||
})
|
||||
export class ToolbarComponent {
|
||||
@Input() activeChannel!: Channel;
|
||||
@Output() multiEpgClicked = new EventEmitter<void>();
|
||||
@Output() toggleLeftDrawerClicked = new EventEmitter<void>();
|
||||
@Output() toggleRightDrawerClicked = new EventEmitter<void>();
|
||||
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
<mat-drawer-content>
|
||||
<ng-container *ngIf="activeChannel$ | async as activeChannel">
|
||||
<!-- toolbar with drawer icon -->
|
||||
<app-toolbar (toggleLeftDrawerClicked)="drawer.toggle()" (toggleRightDrawerClicked)="drawerRight.toggle()" [activeChannel]="activeChannel" />
|
||||
<app-toolbar (toggleLeftDrawerClicked)="drawer.toggle()" (toggleRightDrawerClicked)="drawerRight.toggle()"
|
||||
(multiEpgClicked)="openMultiEpgView()" [activeChannel]="activeChannel" />
|
||||
|
||||
<!-- video.js player -->
|
||||
<app-vjs-player
|
||||
|
||||
Reference in new issue
Block a user