Remove redundant 'View Leads List' button from Add Lead tab
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
* src/routes/events/[event_id]/(leads)/leads/exhibit/[exhibit_id]/ae_tab__add.svelte
|
* src/routes/events/[event_id]/(leads)/leads/exhibit/[exhibit_id]/ae_tab__add.svelte
|
||||||
* Tab 2: Add - Search / QR Scan Layout.
|
* Tab 2: Add - Search / QR Scan Layout.
|
||||||
*/
|
*/
|
||||||
import { QrCode, Search, List } from 'lucide-svelte';
|
import { QrCode, Search } from 'lucide-svelte';
|
||||||
import Comp_lead_qr_scanner from './ae_comp__lead_qr_scanner.svelte';
|
import Comp_lead_qr_scanner from './ae_comp__lead_qr_scanner.svelte';
|
||||||
import Comp_lead_manual_search from './ae_comp__lead_manual_search.svelte';
|
import Comp_lead_manual_search from './ae_comp__lead_manual_search.svelte';
|
||||||
import { events_loc } from '$lib/stores/ae_events_stores';
|
import { events_loc } from '$lib/stores/ae_events_stores';
|
||||||
@@ -55,19 +55,4 @@
|
|||||||
<Comp_lead_manual_search {exhibit_id} on_lead_added={handle_lead_added} />
|
<Comp_lead_manual_search {exhibit_id} on_lead_added={handle_lead_added} />
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Quick Navigation -->
|
|
||||||
<div class="pt-8 w-full border-t border-surface-500/20 flex justify-center pb-10">
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
class="btn btn-sm variant-soft-surface opacity-70 hover:opacity-100 transition-opacity"
|
|
||||||
onclick={() => {
|
|
||||||
// This would be handled by the parent's active_tab state
|
|
||||||
// Assuming we can pass a prop or use a store to switch tabs
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<List size="1.2em" class="mr-2" />
|
|
||||||
View Leads List
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user