Limit who can create a new badge. This may need to change later.

This commit is contained in:
Scott Idem
2026-04-02 18:11:54 -04:00
parent c198ca2454
commit e27ff2c67f

View File

@@ -385,7 +385,7 @@ async function handle_search_refresh(params: any) {
<Comp_badge_search event_id={$events_slct?.event_id ?? ''} log_lvl={1}
></Comp_badge_search>
{#if $ae_loc.edit_mode && (badges_loc.current.enable_add_badge_btn ?? true)}
{#if $ae_loc.trusted_access && $ae_loc.edit_mode && (badges_loc.current.enable_add_badge_btn ?? true)}
<div class="flex justify-end px-4">
<button
type="button"