Updated to angular 10
Moved to eslint for linting Added prettier for formatting Fixed minor errors
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user