Updated to angular 10

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

View File

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