From 48d19d0573d9aa497e7008be212b02deee7efb52 Mon Sep 17 00:00:00 2001 From: Park Byung Eun Date: Wed, 6 Jul 2022 05:50:34 +0000 Subject: [PATCH] bug fix --- src/app/modules/admin/bank/deposit/deposit.routing.ts | 8 ++++---- src/app/modules/admin/bank/deposit/models/deposit.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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;