Skip to content

Commit

Permalink
Merge pull request #980 from qbicsoftware/development
Browse files Browse the repository at this point in the history
Release PR
  • Loading branch information
KochTobi authored Jan 25, 2023
2 parents bef5bd8 + 3cf2cd7 commit cb53169
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import life.qbic.portal.offermanager.dataresources.ResourcesService
import life.qbic.portal.offermanager.dataresources.offers.OfferOverview

import java.util.function.Predicate
import java.util.stream.Collector
import java.util.stream.Collectors

/**
Expand Down Expand Up @@ -76,7 +75,9 @@ class OfferOverviewModel extends Observable {
latestOfferOverviewList.addAll(filteredList)

this.offerVersionsForSelected.clear()
this.offerVersionsForSelected.addAll(filterOfferVersionID(this.selectedOverview, allOfferVersions))
if (this.selectedOverview != null) {
this.offerVersionsForSelected.addAll(filterOfferVersionID(this.selectedOverview, allOfferVersions))
}
this.setChanged()
this.notifyObservers()
})
Expand Down

0 comments on commit cb53169

Please sign in to comment.