added vendor to schema, have not migrated
This commit is contained in:
@@ -79,12 +79,12 @@ export default function EventNotesEditor({ eventId, initialNotes, canEdit }: Pro
|
||||
onChange={(e) => setNotes(e.target.value)}
|
||||
onBlur={handleBlur}
|
||||
rows={6}
|
||||
className="textarea textarea-bordered w-full resize-none"
|
||||
className="textarea w-full resize-none"
|
||||
/>
|
||||
) : notes.trim() ? (
|
||||
<ReactMarkdown remarkPlugins={[remarkGfm]}>{notes}</ReactMarkdown>
|
||||
) : (
|
||||
<p className="text-gray-500 italic textarea-bordered rounded-lg min-h-32 p-4">Click to add notes...</p>
|
||||
<p className="text-gray-500 italic rounded-lg min-h-32 p-4">Click to add notes...</p>
|
||||
)}
|
||||
|
||||
{saving && <p className="text-xs text-gray-400">Saving...</p>}
|
||||
|
||||
@@ -45,7 +45,10 @@ export default function EventInfo({ event }: EventProps) {
|
||||
<p className='text-sm'>Venue: {event.venue ? event.venue.name : 'No location yet'}</p>
|
||||
{daysLeft !== null && (
|
||||
<p className='text-sm mt-2 font-medium text-brand-primary-400'>
|
||||
{daysLeft} days until this event!
|
||||
{daysLeft > 0
|
||||
? `${daysLeft} days until this event!`
|
||||
: daysLeft < 0 && 'This event has passed'
|
||||
}
|
||||
</p>
|
||||
)}
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user