diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-09-23 20:17:49 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-09-23 20:17:49 +0200 |
| commit | be150d337eb9cf18ff7978339aecbbad68ce2cf9 (patch) | |
| tree | c7b628c0304675ae84ca660e5ed9c84dfc8d6bd0 | |
| parent | ca8b26b7cee9649f6aad695f0f57d5205fe010c9 (diff) | |
| download | bycs-sol-be150d337eb9cf18ff7978339aecbbad68ce2cf9.tar.gz bycs-sol-be150d337eb9cf18ff7978339aecbbad68ce2cf9.zip | |
students-prod: add trailing comma
| -rw-r--r-- | src/student-prod.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/student-prod.ts b/src/student-prod.ts index 68b65eb..b2407db 100644 --- a/src/student-prod.ts +++ b/src/student-prod.ts @@ -74,7 +74,7 @@ async function fetchStudents(idFilter?: number, nameFilter?: string) { return students.filter( (s) => (typeof idFilter === "undefined" || s.id === idFilter) && - (typeof nameFilter === "undefined" || s.name.includes(nameFilter)) + (typeof nameFilter === "undefined" || s.name.includes(nameFilter)), ); } |
