This commit is contained in:
leejh 2019-09-25 17:43:37 +09:00
commit c97f49c377
3 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
<ucap-group-expansion-panel
[buddyInfoList$]="buddyInfoList$"
[buddyInfoList]="buddyInfoList$ | async"
></ucap-group-expansion-panel>

View File

@ -1,5 +1,5 @@
<mat-accordion>
<mat-expansion-panel *ngFor="let buddyInfo of buddyInfoList$ | async">
<mat-expansion-panel *ngFor="let buddyInfo of buddyInfoList">
<mat-expansion-panel-header>
<mat-panel-title> {{ buddyInfo.name }} </mat-panel-title>
<mat-panel-description

View File

@ -1,5 +1,5 @@
import { Component, OnInit, Input } from '@angular/core';
import { Observable } from 'rxjs';
import { UserInfo } from '@ucap-webmessenger/protocol-room';
@Component({
@ -9,7 +9,7 @@ import { UserInfo } from '@ucap-webmessenger/protocol-room';
})
export class ExpansionPanelComponent implements OnInit {
@Input()
buddyInfoList$: Observable<UserInfo[]>;
buddyInfoList: UserInfo[];
constructor() {}