update to angular 21
This commit is contained in:
@@ -282,15 +282,17 @@ export class FamilyList implements OnInit, OnDestroy{
|
||||
draggable: true,
|
||||
maximizable: true
|
||||
});
|
||||
|
||||
ref.onClose.subscribe((item: Person) => {
|
||||
if (item) {
|
||||
//console.log("after close ward edit", item);
|
||||
// this.messageService.add({severity:'success', summary: 'Save Family', detail: item.firstName!});
|
||||
//update the current list
|
||||
this.updateList(item);
|
||||
}
|
||||
});
|
||||
if (ref)
|
||||
{
|
||||
ref.onClose.subscribe((item: Person) => {
|
||||
if (item) {
|
||||
//console.log("after close ward edit", item);
|
||||
// this.messageService.add({severity:'success', summary: 'Save Family', detail: item.firstName!});
|
||||
//update the current list
|
||||
this.updateList(item);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
showOrganise(id:number) {
|
||||
@@ -304,7 +306,8 @@ export class FamilyList implements OnInit, OnDestroy{
|
||||
maximizable: true,
|
||||
closable: true
|
||||
});
|
||||
|
||||
if (ref)
|
||||
{
|
||||
ref.onClose.subscribe((item: Person) => {
|
||||
if (item) {
|
||||
//console.log("after close ward edit", item);
|
||||
@@ -313,6 +316,7 @@ export class FamilyList implements OnInit, OnDestroy{
|
||||
//this.updateList(item);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
updateList(item: Person) :void {
|
||||
|
||||
Reference in New Issue
Block a user