input param is changed
This commit is contained in:
		
							parent
							
								
									6de48f83b4
								
							
						
					
					
						commit
						c6ed6db2d8
					
				@ -1,3 +1,3 @@
 | 
				
			|||||||
<ucap-group-expansion-panel
 | 
					<ucap-group-expansion-panel
 | 
				
			||||||
  [buddyInfoList$]="buddyInfoList$"
 | 
					  [buddyInfoList]="buddyInfoList$ | async"
 | 
				
			||||||
></ucap-group-expansion-panel>
 | 
					></ucap-group-expansion-panel>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
<mat-accordion>
 | 
					<mat-accordion>
 | 
				
			||||||
  <mat-expansion-panel *ngFor="let buddyInfo of buddyInfoList$ | async">
 | 
					  <mat-expansion-panel *ngFor="let buddyInfo of buddyInfoList">
 | 
				
			||||||
    <mat-expansion-panel-header>
 | 
					    <mat-expansion-panel-header>
 | 
				
			||||||
      <mat-panel-title> {{ buddyInfo.name }} </mat-panel-title>
 | 
					      <mat-panel-title> {{ buddyInfo.name }} </mat-panel-title>
 | 
				
			||||||
      <mat-panel-description
 | 
					      <mat-panel-description
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
import { Component, OnInit, Input } from '@angular/core';
 | 
					import { Component, OnInit, Input } from '@angular/core';
 | 
				
			||||||
import { Observable } from 'rxjs';
 | 
					
 | 
				
			||||||
import { UserInfo } from '@ucap-webmessenger/protocol-room';
 | 
					import { UserInfo } from '@ucap-webmessenger/protocol-room';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
@ -9,7 +9,7 @@ import { UserInfo } from '@ucap-webmessenger/protocol-room';
 | 
				
			|||||||
})
 | 
					})
 | 
				
			||||||
export class ExpansionPanelComponent implements OnInit {
 | 
					export class ExpansionPanelComponent implements OnInit {
 | 
				
			||||||
  @Input()
 | 
					  @Input()
 | 
				
			||||||
  buddyInfoList$: Observable<UserInfo[]>;
 | 
					  buddyInfoList: UserInfo[];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  constructor() {}
 | 
					  constructor() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user