Fix: import dnd module for merge confirm dialog (#8727)

This commit is contained in:
shamoon 2025-01-14 05:35:45 -08:00 committed by GitHub
parent c342eafa8d
commit 18e3ad8b22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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