mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-15 21:56:18 -08:00
chore: update angular dependencies
This commit is contained in:
1 parent
0b05c07462
commit
fae4c44804
9 files changed
+1508
-1208
No files matched your search
@@ -1,10 +1,9 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Component, inject } from '@angular/core';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatProgressBar } from '@angular/material/progress-bar';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { TranslatePipe } from '@ngx-translate/core';
|
||||
import {
|
||||
EpgImportProgress,
|
||||
EpgProgressService,
|
||||
@@ -14,12 +13,11 @@ import {
|
||||
selector: 'app-epg-progress-panel',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatButtonModule,
|
||||
MatIconModule,
|
||||
MatTooltip,
|
||||
MatProgressBar,
|
||||
TranslateModule,
|
||||
TranslatePipe,
|
||||
],
|
||||
templateUrl: './epg-progress-panel.component.html',
|
||||
styleUrl: './epg-progress-panel.component.scss',
|
||||
|
||||
@@ -151,7 +151,7 @@ export class RecentlyViewedComponent {
|
||||
const playlist = this.currentPlaylist();
|
||||
if (!playlist?._id) return;
|
||||
|
||||
const state = this.router.getCurrentNavigation()?.extras?.state
|
||||
const state = this.router.currentNavigation()?.extras?.state
|
||||
?? window.history.state;
|
||||
const item = state?.openRecentItem;
|
||||
if (!item || !RecentlyViewedComponent.isCategoryType(item.category_id)) {
|
||||
|
||||
Reference in new issue
Block a user