refactor(ui): standardize button types and migrate file operations to V3 Action API
This commit is contained in:
@@ -91,8 +91,7 @@
|
||||
Search
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
<button type="button"
|
||||
class:hidden={!$events_loc.leads.qry__search_text}
|
||||
onclick={() => {
|
||||
$events_loc.leads.qry__search_text = '';
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
<p class="opacity-50">Booth #{$lq__exhibit_obj?.code ?? '...'}</p>
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
<button class="btn preset-tonal-secondary" onclick={handle_export}>
|
||||
<button type="button" class="btn preset-tonal-secondary" onclick={handle_export}>
|
||||
<Download size="1.25em" class="mr-2" /> Export CSV
|
||||
</button>
|
||||
<a href={`/events/${page.params.event_id}/leads/exhibit/${page.params.exhibit_id}/scan`} class="btn preset-filled-primary">
|
||||
|
||||
@@ -90,8 +90,7 @@
|
||||
Search
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
<button type="button"
|
||||
class:hidden={!$events_loc.leads.tracking__qry__search_text}
|
||||
onclick={() => {
|
||||
$events_loc.leads.tracking__qry__search_text = '';
|
||||
|
||||
Reference in New Issue
Block a user