File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/routes/(authenticated)/assignment-assistant/[projectId]/sighting Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 88 import { graphql } from ' $houdini' ;
99 import SchoolFilter from ' ./SchoolFilter.svelte' ;
1010 import codenmz from ' $lib/services/codenamize' ;
11+ import { getConference , loadProjects , getApplications } from ' ../appData.svelte' ;
1112
1213 let { data }: PageProps = $props ();
1314
114115 {#each getApplications () as application , index }
115116 {@const inCurrentPage = index >= (page - 1 ) * pageSize && index < page * pageSize }
116117 {@const filterOrSearchActive = filterActive || searchActive }
117- {@const inFilter = filterActive && $params .filter .includes (application .school ?? ' ' )}
118+ {@const inFilter = filterActive && $params .filter ? .includes (application .school ?? ' ' )}
118119 {@const inSearch =
119120 searchActive &&
120121 (codenmz (application .id ).toLowerCase ().includes ($params .search .toLowerCase ()) ||
121- application .school ?.toLowerCase ().includes ($params .search .toLowerCase ()))}
122+ application .school ?.toLowerCase ()? .includes ($params .search .toLowerCase ()))}
122123 {#if (! filterOrSearchActive && inCurrentPage ) || inFilter || inSearch }
123124 <Application {application } startConference ={conference ?.startConference ?? new Date ()} />
124125 {/if }
You can’t perform that action at this time.
0 commit comments