Wrapping up for the day. It is Friday. Things mostly work.
This commit is contained in:
@@ -84,7 +84,7 @@ onMount(() => {
|
||||
|
||||
$events_sess.pres_mgmt.session__updated_on = null;
|
||||
$: if ($lq__event_session_obj) {
|
||||
if (log_lvl) {
|
||||
if (log_lvl > 1) {
|
||||
console.log(`$lq__event_session_obj:`, $lq__event_session_obj);
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ $: if ($lq__event_session_obj) {
|
||||
console.log('Updated on is the same.');
|
||||
}
|
||||
} else {
|
||||
if (log_lvl > 1) {
|
||||
if (log_lvl) {
|
||||
console.log('Updated on is different.');
|
||||
}
|
||||
// FUTURE USE: Generate a QR code for the object ID.
|
||||
@@ -105,7 +105,7 @@ $: if ($lq__event_session_obj) {
|
||||
let qr_id_url = `${$lq__event_session_obj?.event_session_id_random}_url`;
|
||||
|
||||
// URL for this page (be sure to URL encode it):
|
||||
let url_str = `${$ae_loc.url_origin}/events_pres_mgmt/session/${$lq__event_session_obj.event_session_id_random}`;
|
||||
let url_str = `${$ae_loc.url_origin}/events_pres_mgmt/session/${$lq__event_session_obj?.event_session_id_random}`;
|
||||
url_str = encodeURI(url_str);
|
||||
|
||||
ae_promises.generate_qr_code_url = core_func.generate_qr_code({api_cfg: $ae_api, account_id: $slct.account_id, qr_type: 'str', qr_id: qr_id_url, str: url_str});
|
||||
@@ -125,12 +125,8 @@ $: if ($lq__event_session_obj) {
|
||||
|
||||
|
||||
{#if $lq__event_session_obj}
|
||||
<!-- <h2 class="h2 text-center rounded-md p-2 bg-gray-300">
|
||||
{@html $lq__event_session_obj?.name ?? ae_snip.html__not_set}
|
||||
</h2> -->
|
||||
|
||||
<!-- Information about the session -->
|
||||
<section>
|
||||
<section class="p-2">
|
||||
|
||||
|
||||
{#await ae_promises.generate_qr_code_url}
|
||||
|
||||
Reference in New Issue
Block a user