diff --git a/src/pages/QuizAnswersPage/CardAnswer.tsx b/src/pages/QuizAnswersPage/CardAnswer.tsx
index 2a91d7cf..f646cfce 100644
--- a/src/pages/QuizAnswersPage/CardAnswer.tsx
+++ b/src/pages/QuizAnswersPage/CardAnswer.tsx
@@ -22,6 +22,7 @@ import { deleteResult, obsolescenceResult } from "@root/results/actions";
import { resultApi } from "@api/result";
import { useQuizStore } from "@root/quizes/store";
import { useQuestionsStore } from "@root/questions/store";
+import AddressIcon from "@icons/ContactFormIcon/AddressIcon";
interface Props {
isNew: boolean;
@@ -32,6 +33,7 @@ interface Props {
name?: string;
phone?: string;
email?: string;
+ address?: string;
onLossNew?: (id: string) => void;
}
@@ -39,6 +41,7 @@ export const CardAnswer = ({
name,
phone,
email,
+ address,
isNew = true,
idResult,
timeResult,
@@ -194,6 +197,14 @@ export const CardAnswer = ({
)}
+ {address && (
+
+
+
+ {address}
+
+
+ )}
{!isTablet && isNew && (
@@ -430,6 +441,7 @@ export const CardAnswer = ({
{questionsResultState.map((res) => {
+ console.log(questionsResultState, "что за результат тут");
return (
- {res.description || "нет заголовка"}
+ {res.description}
- {res.title || "нет текста"}
+ {res.title}
-
+ {res.content.useImage &&
+ res.content.back &&
+ res.content.back !== " " && (
+
+ )}
+ {!res.content.useImage &&
+ res.content.back &&
+ res.content.back !== " " && (
+
+ )}
);
})}
diff --git a/src/pages/QuizAnswersPage/QuizAnswersPage.tsx b/src/pages/QuizAnswersPage/QuizAnswersPage.tsx
index 02bf93a1..fd558026 100644
--- a/src/pages/QuizAnswersPage/QuizAnswersPage.tsx
+++ b/src/pages/QuizAnswersPage/QuizAnswersPage.tsx
@@ -335,6 +335,8 @@ export const QuizAnswersPage: FC = () => {