Fix Lead List filtering and resolve Svelte 5 subscription crash
- Refactored Lead List to use direct observable subscription for better reactivity. - Implemented in-memory 'Hard Guard' filter to ensure licensee selection is strictly enforced. - Fixed 'TypeError: s.subscribe is not a function' by removing legacy $ prefix from resolved props. - Resolved TypeScript typing errors in Lead Detail and Search components. - Migrated Badge Search icons to Lucide.
This commit is contained in:
@@ -442,8 +442,8 @@ export async function search__exhibit_tracking({
|
||||
log_lvl = 0
|
||||
}: {
|
||||
api_cfg: any;
|
||||
event_id: string;
|
||||
event_exhibit_id: string;
|
||||
event_id: string | undefined;
|
||||
event_exhibit_id: string | undefined;
|
||||
fulltext_search_qry_str?: string | null;
|
||||
qry_group?: string | null;
|
||||
qry_external_person_id?: string | null;
|
||||
@@ -460,6 +460,8 @@ export async function search__exhibit_tracking({
|
||||
console.log(`*** search__exhibit_tracking() *** exhibit_id=${event_exhibit_id} ft=${fulltext_search_qry_str}`);
|
||||
}
|
||||
|
||||
if (!event_id || !event_exhibit_id) return [];
|
||||
|
||||
const search_query: any = {
|
||||
q: fulltext_search_qry_str || '',
|
||||
and: [
|
||||
|
||||
Reference in New Issue
Block a user