mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 06:06:18 -08:00
fix: provide XtreamStore to components
This commit is contained in:
1 parent
2630025b11
commit
6737270a58
3 files changed
+9
-2
No files matched your search
@@ -6,14 +6,15 @@ import { PlaylistActions, selectPlaylistById } from 'm3u-state';
|
||||
import { map, switchMap } from 'rxjs';
|
||||
import { NavigationComponent } from '../../xtream-tauri/navigation/navigation.component';
|
||||
import { NavigationItem } from '../../xtream-tauri/navigation/navigation.interface';
|
||||
import { XtreamStore } from '../../xtream-tauri/stores/xtream.store';
|
||||
import { StalkerStore } from '../stalker.store';
|
||||
|
||||
@Component({
|
||||
selector: 'app-stalker-shell',
|
||||
templateUrl: './stalker-shell.component.html',
|
||||
styleUrls: ['./stalker-shell.component.scss'],
|
||||
standalone: true,
|
||||
imports: [NavigationComponent, RouterOutlet, NavigationComponent],
|
||||
imports: [NavigationComponent, RouterOutlet],
|
||||
providers: [XtreamStore],
|
||||
})
|
||||
export class StalkerShellComponent implements OnDestroy {
|
||||
private readonly route = inject(ActivatedRoute);
|
||||
|
||||
@@ -20,6 +20,9 @@ import { XtreamStore } from '../stores/xtream.store';
|
||||
MatIconButton,
|
||||
TitleCasePipe,
|
||||
],
|
||||
providers: [
|
||||
XtreamStore
|
||||
],
|
||||
templateUrl: './recently-viewed.component.html',
|
||||
styleUrl: './recently-viewed.component.scss',
|
||||
})
|
||||
|
||||
@@ -51,6 +51,9 @@ interface SearchResultsData {
|
||||
SearchResultItemComponent,
|
||||
TranslatePipe,
|
||||
],
|
||||
providers: [
|
||||
XtreamStore
|
||||
],
|
||||
templateUrl: './search-results.component.html',
|
||||
styleUrls: ['./search-results.component.scss'],
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user