Skip to content

Commit

Permalink
Fix layout
Browse files Browse the repository at this point in the history
  • Loading branch information
reiterl committed Oct 9, 2023
1 parent c908b14 commit 11d35fb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,11 @@ export class MotionMultiselectService {
}
return submitterIds.map(id => ({ id }));
}

private submitterInMotion(userId: Id, motion: ViewMotion): boolean {
return motion.submitters.some(submitter => userId == submitter.user_id);
}

private newSubmittersInMotion(userIds: Ids, motion: ViewMotion): Identifiable[] {
const newSubmitters: Id[] = userIds.filter(userId => !this.submitterInMotion(userId, motion));
return newSubmitters.map(id => ({ id }));
Expand Down

0 comments on commit 11d35fb

Please sign in to comment.