mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 12:06:16 -08:00
refactor: shift DragAndDropModule dependency to shared
This commit is contained in:
1 parent
7d9b26749f
commit
06eed230c0
2 files changed
+3
-8
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import { DragDropModule } from '@angular/cdk/drag-drop';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { NgxUploaderModule } from 'ngx-uploader';
|
||||
@@ -10,13 +9,7 @@ import { PlaylistInfoComponent } from './recent-playlists/playlist-info/playlist
|
||||
import { UrlUploadComponent } from './url-upload/url-upload.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
HomeRoutingModule,
|
||||
NgxUploaderModule,
|
||||
SharedModule,
|
||||
DragDropModule,
|
||||
],
|
||||
imports: [CommonModule, HomeRoutingModule, NgxUploaderModule, SharedModule],
|
||||
declarations: [
|
||||
HomeComponent,
|
||||
FileUploadComponent,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { DragDropModule } from '@angular/cdk/drag-drop';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||
@@ -29,6 +30,7 @@ import { MomentDatePipe } from './pipes/moment-date.pipe';
|
||||
NgxWhatsNewModule,
|
||||
ReactiveFormsModule,
|
||||
TranslateModule,
|
||||
DragDropModule,
|
||||
],
|
||||
exports: [
|
||||
ConfirmDialogComponent,
|
||||
|
||||
Reference in new issue
Block a user