diff --git a/frontend/admin-web/src/app/(dashboard)/notifications/page.tsx b/frontend/admin-web/src/app/(dashboard)/notifications/page.tsx index 2176bc1b..a728bd06 100644 --- a/frontend/admin-web/src/app/(dashboard)/notifications/page.tsx +++ b/frontend/admin-web/src/app/(dashboard)/notifications/page.tsx @@ -9,6 +9,8 @@ import { notificationService, NotificationItem, NotificationType, + NotificationPriority, + TargetType, NOTIFICATION_TYPE_OPTIONS, NOTIFICATION_PRIORITY_OPTIONS, TARGET_TYPE_OPTIONS, @@ -58,8 +60,8 @@ export default function NotificationsPage() { title: '', content: '', type: 'SYSTEM' as NotificationType, - priority: 'NORMAL', - targetType: 'ALL', + priority: 'NORMAL' as NotificationPriority, + targetType: 'ALL' as TargetType, imageUrl: '', linkUrl: '', publishedAt: '', @@ -363,7 +365,7 @@ export default function NotificationsPage() { setFormData({ ...formData, targetType: e.target.value })} + onChange={(e) => setFormData({ ...formData, targetType: e.target.value as TargetType })} > {TARGET_TYPE_OPTIONS.map((opt) => (