Merged PR 1951: fix(remission-list): ensure list reload after search dialog closes

fix(remission-list): ensure list reload after search dialog closes

Move reloadListAndReturnData() call outside the conditional block
to guarantee data refresh regardless of dialog result. Previously,
the list would only reload when items were selected, causing stale
data when the dialog was cancelled or closed without selection.

Ref: #5342
This commit is contained in:
Nino Righi
2025-09-16 12:41:05 +00:00
committed by Lorenz Hilpert
parent 304f8a64e5
commit 62e586cfda

View File

@@ -451,9 +451,8 @@ export class RemissionListComponent {
} else if (this.isDepartment()) {
return await this.navigateToDefaultRemissionList();
}
this.reloadListAndReturnData();
}
this.reloadListAndReturnData();
});
});
});