Chore: Upgrade to Angular v18
Chore: Upgrade to Python 3.12 Chore: Upgrade to psycopg3
This commit is contained in:
10
bookie/src/app/tables/table-list.resolver.ts
Normal file
10
bookie/src/app/tables/table-list.resolver.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { inject } from '@angular/core';
|
||||
import { ResolveFn } from '@angular/router';
|
||||
|
||||
import { Table } from '../core/table';
|
||||
|
||||
import { TableService } from './table.service';
|
||||
|
||||
export const tableListResolver: ResolveFn<Table[]> = () => {
|
||||
return inject(TableService).list();
|
||||
};
|
||||
Reference in New Issue
Block a user