Lot of updates to Svelte 5 syntax
This commit is contained in:
@@ -4,8 +4,8 @@ interface Props {
|
||||
log_lvl?: number;
|
||||
container_class_li?: string|Array<string>;
|
||||
// export let display_mode: string = 'default'; // 'default', 'compact', 'minimal', 'launcher'
|
||||
link_to_type: null|string;
|
||||
link_to_id: null|string;
|
||||
// link_to_type?: null|string;
|
||||
// link_to_id?: null|string;
|
||||
lq__event_session_obj_li: any;
|
||||
hide__session_location?: boolean;
|
||||
hide__session_poc?: boolean;
|
||||
@@ -19,8 +19,8 @@ interface Props {
|
||||
let {
|
||||
log_lvl = 0,
|
||||
container_class_li = [],
|
||||
link_to_type,
|
||||
link_to_id,
|
||||
// link_to_type,
|
||||
// link_to_id,
|
||||
lq__event_session_obj_li,
|
||||
hide__session_location = false,
|
||||
hide__session_poc = false,
|
||||
@@ -51,9 +51,9 @@ import { events_func } from '$lib/ae_events_functions';
|
||||
// export let allow_basic: boolean = false;
|
||||
// export let allow_moderator: boolean = false;
|
||||
|
||||
if (log_lvl) {
|
||||
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
||||
}
|
||||
// if (log_lvl) {
|
||||
// console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
||||
// }
|
||||
|
||||
// Variables
|
||||
// let ae_promises: key_val = {};
|
||||
|
||||
Reference in New Issue
Block a user