Skip to content
Snippets Groups Projects
Commit 9eb40c33 authored by Ewen Le Bihan's avatar Ewen Le Bihan
Browse files

feat(document): mention if FISA on InputSubject

parent 3fc3fb56
No related merge requests found
......@@ -10,6 +10,7 @@
name: string;
shortName: string;
yearTier?: number | undefined;
forApprentices?: boolean;
minors: Array<{ name: string; uid: string; shortName: string }>;
majors: Array<{ name: string; uid: string; shortName: string }>;
};
......@@ -30,6 +31,7 @@
name: true,
shortName: true,
yearTier: true,
forApprentices: true,
majors: {
uid: true,
name: true,
......@@ -82,9 +84,9 @@
labelKey="name"
>
<span class="label" slot="item" let:item
>{item.shortName || item.name} · {item.yearTier}A {item.majors
.map((s) => s.shortName)
.join(', ')}
>{item.shortName || item.name} · {item.yearTier}A {item.forApprentices
? 'FISA '
: ''}{item.majors.map((s) => s.shortName).join(', ')}
{#if item.minors.length > 0}({item.minors.map((s) => s.shortName).join(', ')}){/if}</span
>
</InputSearchObject>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment