diff --git a/src/app/modules/admin/member/partner/components/list.component.ts b/src/app/modules/admin/member/partner/components/list.component.ts index 99812d2..8bea23c 100644 --- a/src/app/modules/admin/member/partner/components/list.component.ts +++ b/src/app/modules/admin/member/partner/components/list.component.ts @@ -202,7 +202,9 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { } __onClickRegist(event: MouseEvent): void { - const dialogRef = this._matDialog.open(RegistComposeComponent); + const dialogRef = this._matDialog.open(RegistComposeComponent, { + data: { title: '대본', parentId: 'kgon2' }, + }); dialogRef.afterClosed().subscribe((result) => { console.log('Compose dialog was closed!'); diff --git a/src/app/modules/admin/member/partner/compose/regist-compose.component.html b/src/app/modules/admin/member/partner/compose/regist-compose.component.html index 9e44ee9..e28e780 100644 --- a/src/app/modules/admin/member/partner/compose/regist-compose.component.html +++ b/src/app/modules/admin/member/partner/compose/regist-compose.component.html @@ -3,7 +3,7 @@
-
대본사 생성
+
{{ data.title }} 등록