Skip to content
Snippets Groups Projects

hide deactivated insurances

Merged Aleksandr Kirienko requested to merge hide-deactivated into develop
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -8,6 +8,9 @@ sap.ui.define([
function findLastInsurance(insurances) {
return insurances.reduce(
function(lastInsurance, insurance) {
if (insurance.isManuallyDeactivated) {
return lastInsurance;
}
if (!lastInsurance) {
return insurance;
}
Loading