Skip to content

Commit

Permalink
🔧 chore(activities): Update filter in save processs
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjitm committed Dec 19, 2024
1 parent ecaf577 commit 8b7d9d4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,7 @@ public String save() {
List<Activity> activitiesDB = new ArrayList<Activity>();
try {
activitiesDB =
this.activityManager.getActiveActivitiesByProject(projectBD.getId(), this.getActualPhase().getId()).stream()
.filter(a -> a.isActive() && a.getPhase().equals(this.getActualPhase())).collect(Collectors.toList());
this.activityManager.getActiveActivitiesByProject(projectBD.getId(), this.getActualPhase().getId());
} catch (Exception e) {
logger.info(" unable to get activities from the BD in save function ");
}
Expand Down

0 comments on commit 8b7d9d4

Please sign in to comment.