From f65992719100b480303f3b6c848e792d0cdf507b Mon Sep 17 00:00:00 2001 From: Rohan Moniz <60864468+rm03@users.noreply.github.com> Date: Sat, 12 Oct 2024 19:34:36 -0400 Subject: [PATCH] remove note title from frontend --- frontend/components/ClubEditPage/AdminNoteCard.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/components/ClubEditPage/AdminNoteCard.tsx b/frontend/components/ClubEditPage/AdminNoteCard.tsx index 8396120fe..810eba016 100644 --- a/frontend/components/ClubEditPage/AdminNoteCard.tsx +++ b/frontend/components/ClubEditPage/AdminNoteCard.tsx @@ -16,8 +16,7 @@ export default function AdminNoteCard({ }: AdminNoteCardProps): ReactElement { const noteTableFields = [ { label: 'Author', name: 'creator' }, - { label: 'Title', name: 'title' }, - { label: 'Content', name: 'content' }, + { label: 'Note', name: 'content' }, { label: 'Created On', name: 'created_at', @@ -35,12 +34,11 @@ export default function AdminNoteCard({ baseUrl={`/clubs/${club.code}/adminnotes/`} fields={ <> - - + } tableFields={noteTableFields} - searchableColumns={['title', 'content']} + searchableColumns={['content']} noun="Note" />