diff --git a/src/Pages/Admin/Notifications/AddNotification/Model/AddModel.tsx b/src/Pages/Admin/Notifications/AddNotification/Model/AddModel.tsx index d16c8dd..ae71d82 100644 --- a/src/Pages/Admin/Notifications/AddNotification/Model/AddModel.tsx +++ b/src/Pages/Admin/Notifications/AddNotification/Model/AddModel.tsx @@ -14,6 +14,7 @@ const AddModel: React.FC = () => { ...values, }); }; + return ( <> { - const formik = useFormikContext(); - + const { data:Users } = useGetAllUser(); + return (
- + + + + + +
diff --git a/src/translate/ar.json b/src/translate/ar.json index 74488f8..575c445 100644 --- a/src/translate/ar.json +++ b/src/translate/ar.json @@ -582,7 +582,8 @@ "question_content": "محتوى السؤال", "body": "النص", "seen": "شوهدت", - "notifiable_type": "نوع الاشعار" + "notifiable_type": "نوع الاشعار", + "users":"المستخدمون" }, "select": { "enums": { @@ -1035,7 +1036,8 @@ "questionBank": "بنك الأسئلة", "roles": "الدور", "coupon": "قسيمة", - "notification": "إدارة الاشعارات" + "notification": "إدارة الاشعارات", + "add_notification":"إدارة الاشعارات" }, "table": { "student": "قائمة الطلاب",