Trying to make things work better...
This commit is contained in:
@@ -18,8 +18,6 @@ export async function load({ params, parent, url }) { // route
|
||||
let event_exhibit_id = null;
|
||||
if (param_slug_event_exhibit_id) {
|
||||
event_exhibit_id = param_slug_event_exhibit_id;
|
||||
} else if (data.url.searchParams.get('event_exhibit_id')) {
|
||||
event_exhibit_id = data.url.searchParams.get('event_exhibit_id');
|
||||
} else {
|
||||
console.log(`The slct__event_exhibit_id was not found in the data.params.slug or data.url!!!`);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user