From d00319b636ce36a664b09ef2e5471226efd3f2f1 Mon Sep 17 00:00:00 2001 From: Pkpedram Date: Sat, 2 Apr 2022 03:57:06 +0430 Subject: [PATCH] Add exam Some Fixes --- src/view/addExam/index.js | 2 +- src/view/addExam/views/AddDescription.js | 10 ++++++++++ src/view/addExam/views/AddQuestionsFromBank.js | 6 +++--- src/view/addProduct/Sidebar/index.js | 2 +- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/view/addExam/index.js b/src/view/addExam/index.js index 595d409..0e399a9 100644 --- a/src/view/addExam/index.js +++ b/src/view/addExam/index.js @@ -64,7 +64,7 @@ const AddExam = () => { ] return( -
+

ساخت آزمون جدید diff --git a/src/view/addExam/views/AddDescription.js b/src/view/addExam/views/AddDescription.js index dfe003a..bbce97e 100644 --- a/src/view/addExam/views/AddDescription.js +++ b/src/view/addExam/views/AddDescription.js @@ -47,6 +47,11 @@ const AddExamDescription = ({ grades, addExamState, dispatch, stepClick, backSte range calendar={persian} locale={persian_fa} + renderButton={(direction, handleClick) => ( + + )} render={} plugins={[ @@ -59,6 +64,11 @@ const AddExamDescription = ({ grades, addExamState, dispatch, stepClick, backSte range calendar={persian} locale={persian_fa} + renderButton={(direction, handleClick) => ( + + )} render={} plugins={[ diff --git a/src/view/addExam/views/AddQuestionsFromBank.js b/src/view/addExam/views/AddQuestionsFromBank.js index fc078c2..5d1edc6 100644 --- a/src/view/addExam/views/AddQuestionsFromBank.js +++ b/src/view/addExam/views/AddQuestionsFromBank.js @@ -262,11 +262,11 @@ const AddQuestionsFromBank = ({ grades, addExamState, dispatch, stepClick, backS
{item.selectedQuestions.length} سوال
- { - selectedCourse.id == item.id &&

+ +

{ dispatch({ type: 'REMOVE_EXAM_COURSE', payload: item }); setSelectedCourse(null); setFakeState(fakeState + 24) }}> x

- } +

diff --git a/src/view/addProduct/Sidebar/index.js b/src/view/addProduct/Sidebar/index.js index caa4b23..00a52dc 100644 --- a/src/view/addProduct/Sidebar/index.js +++ b/src/view/addProduct/Sidebar/index.js @@ -12,7 +12,7 @@ const SideAP = () => { انتشار محصول

-