refactor: shift DragAndDropModule dependency to shared

This commit is contained in:
4gray committed 2022-02-17 23:10:09 +01:00
1 parent 7d9b26749f
commit 06eed230c0
2 files changed
+3 -8

No files matched your search

+1 -8
View File
@@ -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,
+2
View File
@@ -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,