Updated to angular 10
Moved to eslint for linting Added prettier for formatting Fixed minor errors
This commit is contained in:
@ -72,7 +72,7 @@ export class ProductListComponent implements OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
dropTable(event: CdkDragDrop<Product[]>) {
|
||||
dropTable(event: CdkDragDrop<ProductListDataSource>) {
|
||||
const prevIndex = this.list.indexOf(event.item.data);
|
||||
moveItemInArray(this.list, prevIndex, event.currentIndex);
|
||||
this.data.next(this.list);
|
||||
|
||||
Reference in New Issue
Block a user