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:
@@ -1,5 +1,4 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ActivatedRouteSnapshot, Resolve } from '@angular/router';
|
||||
import { Observable } from 'rxjs/internal/Observable';
|
||||
|
||||
import { BatchIntegrity } from './batch-integrity';
|
||||
@@ -8,10 +7,10 @@ import { BatchIntegrityReportService } from './batch-integrity-report.service';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class BatchIntegrityResolverService implements Resolve<BatchIntegrity[]> {
|
||||
export class BatchIntegrityResolverService {
|
||||
constructor(private ser: BatchIntegrityReportService) {}
|
||||
|
||||
resolve(route: ActivatedRouteSnapshot): Observable<BatchIntegrity[]> {
|
||||
resolve(): Observable<BatchIntegrity[]> {
|
||||
return this.ser.batchIntegrity();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user