Skip to content

Commit

Permalink
message when no participants works
Browse files Browse the repository at this point in the history
  • Loading branch information
IrisOlfermann committed Jan 15, 2024
1 parent 176b6d7 commit 624aa53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/src/services/filterParticipantsList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export function filterParticipantsList(date: string){

const filteredParticipants = computed(() => {
if (participations.participants.length===0){
return [];
participations.participants = ["Hallo"]
return []
}
console.log(participations.participants);
return participations.participants.filter(participant => participantsContainString(participant, participations.filterValue));
});

Expand Down

0 comments on commit 624aa53

Please sign in to comment.