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 @@
-
- {{ casinomoney.id }}
-
-
+
+
+
+ {{ casinomoney.id }}
+
+
+
{{ casinomoney.nickname }}
diff --git a/src/app/modules/admin/member/casinomoney/components/list.component.ts b/src/app/modules/admin/member/casinomoney/components/list.component.ts
index a8a2420..2f80ecd 100644
--- a/src/app/modules/admin/member/casinomoney/components/list.component.ts
+++ b/src/app/modules/admin/member/casinomoney/components/list.component.ts
@@ -29,6 +29,7 @@ import {
import { fuseAnimations } from '@fuse/animations';
import { FuseConfirmationService } from '@fuse/services/confirmation';
+import { User } from '../../user/models/user';
import { Casinomoney } from '../models/casinomoney';
import { CasinomoneyPagination } from '../models/casinomoney-pagination';
import { CasinomoneyService } from '../services/casinomoney.service';
@@ -66,6 +67,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild(MatSort) private _sort!: MatSort;
casinomoneys$!: Observable;
+ users$!: Observable;
isLoading = false;
searchInputControl = new FormControl();
@@ -164,8 +166,8 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
// @ Public methods
// -----------------------------------------------------------------------------------------------------
- viewCasinomoneyDetail(id: string): void {
- let url: string = 'member/casinomoney/' + id;
+ viewUserDetail(id: string): void {
+ let url: string = 'member/user/' + id;
this.router.navigateByUrl(url);
}
// -----------------------------------------------------------------------------------------------------