From 69a8dc4735fe04ca81e86699713e70f325eda91e Mon Sep 17 00:00:00 2001 From: Blocks <51055767+Blocksnmore@users.noreply.github.com> Date: Thu, 16 Nov 2023 16:37:14 -0600 Subject: [PATCH 1/2] Implement search --- islands/tickets/filters.tsx | 22 ++++++++++------------ routes/events/[id]/tickets.tsx | 24 ++++++++++++++---------- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/islands/tickets/filters.tsx b/islands/tickets/filters.tsx index 978f6d2..7967726 100644 --- a/islands/tickets/filters.tsx +++ b/islands/tickets/filters.tsx @@ -3,12 +3,16 @@ import Button from "@/components/buttons/button.tsx"; import Search from "$tabler/search.tsx"; import { Signal } from "@preact/signals"; -export default function TeamFilters( - { query, sort }: { query: Signal; sort: Signal }, -) { +export default function TicketsFilters({ + query, + sort, +}: { + query: Signal; + sort: Signal; +}) { return (
{ e.preventDefault(); @@ -26,15 +30,9 @@ export default function TeamFilters( location.href = url.toString(); }} > - (query.value = e.currentTarget.value)} - />
-
- void; diff --git a/islands/entriesManagement.tsx b/islands/entriesManagement.tsx index a5498cf..49bfa23 100644 --- a/islands/entriesManagement.tsx +++ b/islands/entriesManagement.tsx @@ -1,3 +1,3 @@ -import EntriesManagement from 'https://deno.land/x/deno_kv_insights@v0.7.0-beta/lib/entry/islands/entriesManagement.tsx'; +import EntriesManagement from "https://deno.land/x/deno_kv_insights@v0.7.0-beta/lib/entry/islands/entriesManagement.tsx"; -export default EntriesManagement; \ No newline at end of file +export default EntriesManagement; diff --git a/islands/entryManagement.tsx b/islands/entryManagement.tsx index 37c42de..071bba5 100644 --- a/islands/entryManagement.tsx +++ b/islands/entryManagement.tsx @@ -1,3 +1,3 @@ -import EntryManagement from 'https://deno.land/x/deno_kv_insights@v0.7.0-beta/lib/entry/islands/entryManagement.tsx'; +import EntryManagement from "https://deno.land/x/deno_kv_insights@v0.7.0-beta/lib/entry/islands/entryManagement.tsx"; -export default EntryManagement; \ No newline at end of file +export default EntryManagement; diff --git a/islands/events/editing/delete.tsx b/islands/events/editing/delete.tsx index fa66658..9b7f8da 100644 --- a/islands/events/editing/delete.tsx +++ b/islands/events/editing/delete.tsx @@ -42,7 +42,8 @@ export default function EventDeletion({ eventID }: { eventID: string }) { >
Delete Event

- Are you sure you want to delete this event? This action is irrevocable and cannot be undone! + Are you sure you want to delete this event? This action is + irrevocable and cannot be undone!

-