From 18e3ad8b220f7893b65cd9781e266c9529f9fa7f Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 14 Jan 2025 05:35:45 -0800 Subject: [PATCH] Fix: import dnd module for merge confirm dialog (#8727) --- .../merge-confirm-dialog.component.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts index 45891fb64..9359e4099 100644 --- a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts +++ b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts @@ -1,4 +1,8 @@ -import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop' +import { + CdkDragDrop, + DragDropModule, + moveItemInArray, +} from '@angular/cdk/drag-drop' import { Component, OnInit } from '@angular/core' import { FormsModule, ReactiveFormsModule } from '@angular/forms' import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap' @@ -13,7 +17,12 @@ import { ConfirmDialogComponent } from '../confirm-dialog.component' selector: 'pngx-merge-confirm-dialog', templateUrl: './merge-confirm-dialog.component.html', styleUrl: './merge-confirm-dialog.component.scss', - imports: [FormsModule, ReactiveFormsModule, NgxBootstrapIconsModule], + imports: [ + DragDropModule, + FormsModule, + ReactiveFormsModule, + NgxBootstrapIconsModule, + ], }) export class MergeConfirmDialogComponent extends ConfirmDialogComponent