Updated to angular 10
Moved to eslint for linting Added prettier for formatting Fixed minor errors
This commit is contained in:
@ -54,7 +54,7 @@ export class TableListComponent implements OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
dropTable(event: CdkDragDrop<MenuCategory[]>) {
|
||||
dropTable(event: CdkDragDrop<TableListDataSource>) {
|
||||
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