Chore: ng lint using the recommended @angular-eslint style

This commit is contained in:
2020-12-08 18:50:46 +05:30
parent 130d9197e5
commit d65379a068
50 changed files with 524 additions and 636 deletions

View File

@ -83,7 +83,9 @@ export class UpdateProductPricesComponent implements OnInit {
show() {
const info = this.getInfo();
const route = ['update-product-prices'];
if (info.menuCategoryId !== null) route.push(info.menuCategoryId as string);
if (info.menuCategoryId !== null) {
route.push(info.menuCategoryId as string);
}
this.router.navigate(route, {
queryParams: {
date: info.date,