File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { countFeatures , venueTypes } from '$lib/stores' ;
22import { type Venue } from '$lib/types' ;
33import { base } from '$app/paths' ;
4+ import { building } from '$app/environment' ;
45import { type Option } from 'svelte-multiselect' ;
56
67const loadData = async ( fetch ) => {
@@ -80,6 +81,8 @@ const getVenueTypes = (data: Venue[]) => {
8081} ;
8182
8283export const load = ( { fetch } ) => {
83- const data = loadData ( fetch ) ;
84- return data ;
84+ if ( ! building ) {
85+ const data = loadData ( fetch ) ;
86+ return data ;
87+ }
8588} ;
Original file line number Diff line number Diff line change 11{
22 "@context" : " https://schema.org" ,
3- "@id" : " https://homernetwork.github.io/venues/datasets/cinema-context" ,
3+ "@id" : " https://homernetwork.github.io/venues/datasets/cinema-context.json " ,
44 "@type" : " Dataset" ,
55 "name" : " Cinema Context" ,
66 "description" : " Cinema Context is a database of Dutch cinema and film culture." ,
4949 "url" : " http://www.cinemacontext.nl/"
5050 }
5151 ],
52- "sameAs" : [" http://www.cinemacontext.nl/id/B000016" ]
52+ "sameAs" : [
53+ " http://www.cinemacontext.nl/id/B000016"
54+ ]
5355 },
5456 {
5557 "@context" : " https://schema.org/" ,
331333 }
332334 }
333335 ]
334- }
336+ }
You can’t perform that action at this time.
0 commit comments