diff --git a/packages/frontend/src/features/events/components/event-details.tsx b/packages/frontend/src/features/events/components/event-details.tsx
index 7254d51..0c269e8 100644
--- a/packages/frontend/src/features/events/components/event-details.tsx
+++ b/packages/frontend/src/features/events/components/event-details.tsx
@@ -3,7 +3,7 @@
import { Button } from '@/shared/components/ui/button';
import { Card } from '@/shared/components/ui/card';
import { Badge } from '@/shared/components/ui/badge';
-import { Avatar } from '@/shared/components/ui/avatar';
+import { Avatar, AvatarFallback } from '@/shared/components/ui/avatar';
import {
Calendar,
MapPin,
@@ -16,7 +16,6 @@ import {
DollarSign,
UserIcon
} from 'lucide-react';
-import Image from 'next/image';
import { useRouter, usePathname } from 'next/navigation';
import { EventSubscriptionStatus, EventWithHost } from '../types';
import { EventsTypes } from '../lib/validation';
@@ -385,16 +384,24 @@ export const EventDetails = () => {
Hosted by
-
-
+
+ {host_image && (
+
+ )}
+ {!host_image && (
+
+ {host_name
+ ?.split(' ')
+ .map((n) => n[0])
+ .join('') || ''}
+
+ )}
{host_name}
diff --git a/packages/frontend/src/features/events/components/event-form.tsx b/packages/frontend/src/features/events/components/event-form.tsx
index 5260b43..66c2da3 100644
--- a/packages/frontend/src/features/events/components/event-form.tsx
+++ b/packages/frontend/src/features/events/components/event-form.tsx
@@ -186,7 +186,14 @@ const EventForm = () => {
setActiveStep(activeStep - 1);
};
- const onSubmit = async (data: EventFormValues) => {
+ const handleStepNavigation = (e: React.FormEvent) => {
+ e.preventDefault();
+ if (activeStep === 1) {
+ handleNext();
+ }
+ };
+
+ const handleFormSubmit = async (data: EventFormValues) => {
try {
const formData = new FormData();
@@ -300,6 +307,8 @@ const EventForm = () => {
}
};
+ const handleFinalSubmit = methods.handleSubmit(handleFormSubmit);
+
// Show loading state while fetching event data
if (isLoadingEvent) {
return (
@@ -349,7 +358,12 @@ const EventForm = () => {
-
diff --git a/packages/frontend/src/features/home/components/home.tsx b/packages/frontend/src/features/home/components/home.tsx
index 515c19d..b6fbb85 100644
--- a/packages/frontend/src/features/home/components/home.tsx
+++ b/packages/frontend/src/features/home/components/home.tsx
@@ -221,7 +221,7 @@ export const Home = () => {
});
// Show Select All if admin or all visible threads are owned by user
- const showSelectAll = isAdmin || allOwnedByUser;
+ const showSelectAll = isAdmin || allSelectedOwnedByUser;
// Show bulk bar if admin or (thread creator and all selected are theirs)
const showBulkBar = someSelected && (isAdmin || allSelectedOwnedByUser);
diff --git a/packages/frontend/src/features/home/components/main-card/comments-thread-card.tsx b/packages/frontend/src/features/home/components/main-card/comments-thread-card.tsx
index c6f86af..cfa2e5a 100644
--- a/packages/frontend/src/features/home/components/main-card/comments-thread-card.tsx
+++ b/packages/frontend/src/features/home/components/main-card/comments-thread-card.tsx
@@ -357,34 +357,35 @@ export const CommentsThreadCard = ({
{/* Comment Selection Bulk Bar */}
- {threadComments.length > 0 && (
-
-
-
- Select All
-
- {someSelected && (
-
-
- {selectedCommentIds.length} selected
-
-
+ {threadComments.length > 0 &&
+ (isAdmin || threadComments.some(isCommentOwner)) && (
+
- )}
+ {someSelected && (
+
+
+ {selectedCommentIds.length} selected
+
+
+
+ )}
+
+ )}
{/* Delete Confirmation Modal */}