Updated to angular 10

Moved to eslint for linting
Added prettier for formatting
Fixed minor errors
This commit is contained in:
tanshu committed 2020-10-11 09:34:35 +05:30
1 parent 066d43a373
commit b31db593c2
22 files changed
+235 -291

No files matched your search

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