4 Answer(s)
- 
    0Hi @mert.kir, I checked the previous issue. It seems to be resolved in the same day. It shouldn't occur again after 5.0.0 version. 
- 
    0It would be better to write information for those who have this problem under abp 5.0 version. Because after the statement that we will solve the problem, there was no information. 
- 
    0Hello, If you can download the source code, you can implement your fix until you upgrade your packages. In organization-units.component.ts, after deleting a unit, you need to check if it is the selected unit.Change // ... .subscribe((status: Confirmation.Status) => { if (status === Confirmation.Status.confirm) { this.service.delete(id).subscribe(() => this.get());to // ... .subscribe((status: Confirmation.Status) => { if (status === Confirmation.Status.confirm) { this.service .delete(id) .pipe( tap(_ => { if (id === this.selectedUnit?.id) { this.selectedUnit = null; } }), ) .subscribe(() => this.get()); } });
- 
    0Hello, If you can download the source code, you can implement your fix until you upgrade your packages. In organization-units.component.ts, after deleting a unit, you need to check if it is the selected unit.Change // ... .subscribe((status: Confirmation.Status) => { if (status === Confirmation.Status.confirm) { this.service.delete(id).subscribe(() => this.get());to // ... .subscribe((status: Confirmation.Status) => { if (status === Confirmation.Status.confirm) { this.service .delete(id) .pipe( tap(_ => { if (id === this.selectedUnit?.id) { this.selectedUnit = null; } }), ) .subscribe(() => this.get()); } });thanks for the reply 
 
                                