Fixes for the QR codes refreshing too easily. Added option to turn the QR codes off and on. Need to add an event level setting or something.
This commit is contained in:
@@ -299,6 +299,30 @@ let ae_triggers: key_val = {};
|
||||
<!-- Group -->
|
||||
|
||||
|
||||
{#if $ae_loc.authenticated_access}
|
||||
{#if $events_loc.pres_mgmt.show_content__session_qr}
|
||||
<button
|
||||
on:click={() => {
|
||||
$events_loc.pres_mgmt.show_content__session_qr = false;
|
||||
}}
|
||||
class="btn btn-sm variant-ghost-success"
|
||||
>
|
||||
<span class="fas fa-toggle-on m-1"></span>
|
||||
Showing QR Code
|
||||
</button>
|
||||
{:else}
|
||||
<button
|
||||
on:click={() => {
|
||||
$events_loc.pres_mgmt.show_content__session_qr = true;
|
||||
}}
|
||||
class="btn btn-sm variant-ringed-warning"
|
||||
>
|
||||
<span class="fas fa-toggle-off m-1"></span>
|
||||
Show QR Code?
|
||||
</button>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{#if $ae_loc.trusted_access}
|
||||
{#if $ae_loc.edit_mode}
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user