Chasing and fixing bugs
This commit is contained in:
@@ -279,7 +279,7 @@ export function sync_config__event_pres_mgmt(
|
||||
|
||||
|
||||
// Deal with things that can be overridden:
|
||||
if (pres_mgmt_cfg_remote?.sync_local_config) {
|
||||
if (pres_mgmt_cfg_local?.sync_local_config) {
|
||||
// Hide content:
|
||||
pres_mgmt_cfg_local.hide__location_code = pres_mgmt_cfg_remote?.hide__location_code ?? false;
|
||||
|
||||
|
||||
@@ -181,6 +181,8 @@ let events_local_data_struct: key_val = {
|
||||
|
||||
// Presentation Management (Distributing)
|
||||
'pres_mgmt': {
|
||||
sync_local_config: true,
|
||||
|
||||
datetime_format: 'datetime_12_long',
|
||||
time_format: 'time_12_short',
|
||||
time_hours: 12, // 12 or 24
|
||||
|
||||
@@ -346,7 +346,10 @@ $: if ($lq__event_presenter_obj) {
|
||||
Copy Access Link
|
||||
</button>
|
||||
{/if}
|
||||
{#if $lq__event_presenter_obj.email && ($ae_loc.administrator_access || !$events_loc.auth__person?.id && $events_loc.pres_mgmt?.show__email_access_link)}
|
||||
{#if $lq__event_presenter_obj.email
|
||||
&& $events_loc.pres_mgmt?.show__email_access_link
|
||||
&& ($ae_loc.public_access || !$events_loc.auth__person?.id)
|
||||
}
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
|
||||
@@ -754,7 +754,7 @@ $: if ($lq__event_session_obj) {
|
||||
{/if}
|
||||
|
||||
{#if $events_loc.pres_mgmt?.show__copy_access_link
|
||||
&& ($ae_loc.trusted_access || $lq__event_session_obj.poc_person_id_random)}
|
||||
&& $ae_loc.trusted_access && $lq__event_session_obj.poc_person_id_random}
|
||||
<!-- A button to copy the access link to the clipboard. -->
|
||||
<!-- Example: /events_pres_mgmt/session/Wh8UnJlbIA0?person_id=fV1dl_IJ0yY&person_pass=abc123 -->
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user