mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
refactor: move RecentPlaylist component to shared module
This commit is contained in:
1 parent
d089e82afa
commit
7d9b26749f
2 files changed
+12
-11
No files matched your search
@@ -1,14 +1,13 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { SharedModule } from '../shared/shared.module';
|
||||
import { HomeComponent } from './home.component';
|
||||
import { FileUploadComponent } from './file-upload/file-upload.component';
|
||||
import { UrlUploadComponent } from './url-upload/url-upload.component';
|
||||
import { RecentPlaylistsComponent } from './recent-playlists/recent-playlists.component';
|
||||
import { HomeRoutingModule } from './home.routing';
|
||||
import { NgxUploaderModule } from 'ngx-uploader';
|
||||
import { PlaylistInfoComponent } from './recent-playlists/playlist-info/playlist-info.component';
|
||||
import { DragDropModule } from '@angular/cdk/drag-drop';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { NgxUploaderModule } from 'ngx-uploader';
|
||||
import { SharedModule } from '../shared/shared.module';
|
||||
import { FileUploadComponent } from './file-upload/file-upload.component';
|
||||
import { HomeComponent } from './home.component';
|
||||
import { HomeRoutingModule } from './home.routing';
|
||||
import { PlaylistInfoComponent } from './recent-playlists/playlist-info/playlist-info.component';
|
||||
import { UrlUploadComponent } from './url-upload/url-upload.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -22,7 +21,6 @@ import { DragDropModule } from '@angular/cdk/drag-drop';
|
||||
HomeComponent,
|
||||
FileUploadComponent,
|
||||
PlaylistInfoComponent,
|
||||
RecentPlaylistsComponent,
|
||||
UrlUploadComponent,
|
||||
],
|
||||
})
|
||||
|
||||
@@ -5,6 +5,7 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { FilterPipeModule } from 'ngx-filter-pipe';
|
||||
import { NgxWhatsNewModule } from 'ngx-whats-new';
|
||||
import { RecentPlaylistsComponent } from '../home/recent-playlists/recent-playlists.component';
|
||||
import { MaterialModule } from '../material.module';
|
||||
import { HeaderComponent } from './components/';
|
||||
import { AboutDialogComponent } from './components/about-dialog/about-dialog.component';
|
||||
@@ -17,6 +18,7 @@ import { MomentDatePipe } from './pipes/moment-date.pipe';
|
||||
HeaderComponent,
|
||||
MomentDatePipe,
|
||||
AboutDialogComponent,
|
||||
RecentPlaylistsComponent,
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
@@ -39,6 +41,7 @@ import { MomentDatePipe } from './pipes/moment-date.pipe';
|
||||
MomentDatePipe,
|
||||
ReactiveFormsModule,
|
||||
TranslateModule,
|
||||
RecentPlaylistsComponent,
|
||||
],
|
||||
})
|
||||
export class SharedModule {}
|
||||
Reference in new issue
Block a user