powerball에 회원상세보기 추가
This commit is contained in:
parent
bf1c18fea3
commit
012b2be24c
|
@ -201,10 +201,16 @@
|
|||
</div>
|
||||
|
||||
<!-- id, nickname -->
|
||||
<ng-container *ngIf="users$ | async as users">
|
||||
<ng-container
|
||||
*ngFor="let user of users; trackBy: __trackByFn"
|
||||
>
|
||||
<div class="hidden sm:block truncate">
|
||||
{{ powerball.id }}
|
||||
({{ powerball.nickname }})
|
||||
</div>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
|
||||
<!-- bettingProgress -->
|
||||
<div class="hidden sm:block truncate">
|
||||
|
|
|
@ -29,6 +29,7 @@ import {
|
|||
import { fuseAnimations } from '@fuse/animations';
|
||||
import { FuseConfirmationService } from '@fuse/services/confirmation';
|
||||
|
||||
import { User } from 'app/modules/admin/member/user/models/user';
|
||||
import { Powerball } from '../models/powerball';
|
||||
import { PowerballPagination } from '../models/powerball-pagination';
|
||||
import { PowerballService } from '../services/powerball.service';
|
||||
|
@ -65,6 +66,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
@ViewChild(MatSort) private _sort!: MatSort;
|
||||
|
||||
powerballs$!: Observable<Powerball[] | undefined>;
|
||||
users$!: Observable<User[] | undefined>;
|
||||
|
||||
isLoading = false;
|
||||
searchInputControl = new FormControl();
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
import { Route } from '@angular/router';
|
||||
|
||||
import { ListComponent } from './components/list.component';
|
||||
import { ViewComponent } from '../../member/user/components/view.component';
|
||||
|
||||
import { PowerballsResolver } from './resolvers/powerball.resolver';
|
||||
import { UserResolver } from '../../dashboards/user/user.resolvers';
|
||||
|
||||
export const powerballRoutes: Route[] = [
|
||||
{
|
||||
|
@ -12,4 +14,11 @@ export const powerballRoutes: Route[] = [
|
|||
deposits: PowerballsResolver,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
component: ViewComponent,
|
||||
resolve: {
|
||||
users: UserResolver,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue
Block a user