Skip to content

Commit a1b98bf

Browse files
committed
still getting splice error on drag and drop
1 parent 0ab2bc8 commit a1b98bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/components/admin-form-create-event/admin-form-create-event.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class AdminFormCreateEventComponent implements OnInit {
4444
}
4545

4646
drop(event: CdkDragDrop<string[]>) {
47-
if (event.previousContainer === event.container) {
47+
if (event.previousContainer === event.container) {
4848
moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
4949
} else {
5050
transferArrayItem(event.previousContainer.data,

0 commit comments

Comments
 (0)