Skip to content

Commit 8eb2944

Browse files
committed
resolved #130: use subscribe instead of finally
1 parent e3eb985 commit 8eb2944

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

angular/src/app/users/users.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@ export class UsersComponent extends PagedListingComponentBase<UserDto> {
4141
(result: boolean) => {
4242
if (result) {
4343
this._userService.delete(user.id)
44-
.finally(() => {
44+
.subscribe(() => {
4545
abp.notify.info("Deleted User: " + user.fullName);
4646
this.refresh();
47-
})
48-
.subscribe(() => { });
47+
});
4948
}
5049
}
5150
);

0 commit comments

Comments
 (0)