diff --git a/src/app/modules/admin/bank/deposit/deposit.routing.ts b/src/app/modules/admin/bank/deposit/deposit.routing.ts index b370949..3617c9e 100644 --- a/src/app/modules/admin/bank/deposit/deposit.routing.ts +++ b/src/app/modules/admin/bank/deposit/deposit.routing.ts @@ -2,14 +2,14 @@ import { Route } from '@angular/router'; import { ListComponent } from './components/list.component'; -// import { DepositResolver } from './resolvers/deposit.resolver'; +import { DepositsResolver } from './resolvers/deposit.resolver'; export const depositRoutes: Route[] = [ { path: '', component: ListComponent, - // resolve: { - // deposits: DepositResolver, - // }, + resolve: { + deposits: DepositsResolver, + }, }, ]; diff --git a/src/app/modules/admin/bank/deposit/models/deposit.ts b/src/app/modules/admin/bank/deposit/models/deposit.ts index cf85b38..8e9b2cb 100644 --- a/src/app/modules/admin/bank/deposit/models/deposit.ts +++ b/src/app/modules/admin/bank/deposit/models/deposit.ts @@ -1,7 +1,7 @@ export interface Deposit { + id: string; rank: string; level: string; - id: string; nickname: string; paymentDue: number; calculateType: string;