diff --git a/src/app/modules/admin/member/casinomoney/casinomoney.routing.ts b/src/app/modules/admin/member/casinomoney/casinomoney.routing.ts index dfe2c7f..500956f 100644 --- a/src/app/modules/admin/member/casinomoney/casinomoney.routing.ts +++ b/src/app/modules/admin/member/casinomoney/casinomoney.routing.ts @@ -1,8 +1,10 @@ import { Route } from '@angular/router'; import { ListComponent } from './components/list.component'; +import { ViewComponent } from '../user/components/view.component'; import { CasinomoneysResolver } from './resolvers/casinomoney.resolver'; +import { UserResolver } from '../user/resolvers/user.resolver'; export const casinomoneyRoutes: Route[] = [ { @@ -12,4 +14,11 @@ export const casinomoneyRoutes: Route[] = [ casinomoneyrs: CasinomoneysResolver, }, }, + { + path: ':id', + component: ViewComponent, + resolve: { + users: UserResolver, + }, + }, ]; diff --git a/src/app/modules/admin/member/casinomoney/components/list.component.html b/src/app/modules/admin/member/casinomoney/components/list.component.html index 852d91c..4b82959 100644 --- a/src/app/modules/admin/member/casinomoney/components/list.component.html +++ b/src/app/modules/admin/member/casinomoney/components/list.component.html @@ -239,10 +239,18 @@ - - + + + + +