feat(ui): sixth-form badge, note and filter labels use GIAS flag
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1d149ffc48
commit
0934c8f38c
5 files changed
+53
-4
No files matched your search
@@ -23,7 +23,8 @@ function detectAdmissionsTag(school: School): string | null {
|
||||
}
|
||||
|
||||
function hasSixthForm(school: School): boolean {
|
||||
return school.age_range?.includes('18') ?? false;
|
||||
// GIAS OfficialSixthForm flag; missing (pipeline not yet re-run) => false.
|
||||
return school.has_sixth_form ?? false;
|
||||
}
|
||||
|
||||
interface SecondarySchoolRowProps {
|
||||
|
||||
Reference in new issue
Block a user