Feature: Adding recipe templates to print recipes.

Feautre: Recipe export to xlsx
Chore: Python 11 style type annotations
Chore: Moved to sqlalchemy 2.0
Chore: Minimum python is 3.11
Fix: Fix nullability of a lot of fields in the database.
This commit is contained in:
2023-07-23 08:12:21 +05:30
parent d2d26ab1ae
commit 22cac61761
344 changed files with 3247 additions and 2370 deletions
@@ -88,14 +88,14 @@ export class EntriesComponent implements OnInit {
sortDirection,
);
});
this.sort?.sortChange.subscribe((x) =>
this.sort?.sortChange.subscribe(() =>
this.router.navigate([], {
relativeTo: this.route,
queryParams: { a: this.sort?.active ?? 'date', d: this.sort?.direction },
queryParamsHandling: 'merge',
}),
);
this.paginator?.page.subscribe((x) =>
this.paginator?.page.subscribe(() =>
this.router.navigate([], {
relativeTo: this.route,
queryParams: { ps: this.paginator?.pageSize, pi: this.paginator?.pageIndex },