Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
8ae0fe77
Commit
8ae0fe77
authored
Jul 27, 2022
by
Lee SeoYeon
Browse files
0727
parent
0878e5d4
Changes
2
Show whitespace changes
Inline
Side-by-side
frontend/src/questions/Question.tsx
View file @
8ae0fe77
...
@@ -50,11 +50,7 @@ export const Question = ({
...
@@ -50,11 +50,7 @@ export const Question = ({
selectedType
===
"
checkbox
"
selectedType
===
"
checkbox
"
)
{
)
{
element
.
content
=
{
element
.
content
=
{
choices
:
[
choices
:
[{
text
:
""
,
value
:
0
}],
{
text
:
""
,
value
:
0
},
{
text
:
""
,
value
:
1
},
{
text
:
""
,
value
:
2
},
],
};
};
}
else
if
(
selectedType
===
"
essay
"
)
{
}
else
if
(
selectedType
===
"
essay
"
)
{
element
.
content
=
{
choices
:
[]
};
element
.
content
=
{
choices
:
[]
};
...
...
frontend/src/survey/ResultSurvey.tsx
View file @
8ae0fe77
...
@@ -43,7 +43,7 @@ export const ResultSurvey = () => {
...
@@ -43,7 +43,7 @@ export const ResultSurvey = () => {
<
div
className
=
"font-bold text-4xl text-center m-2 border-b-2"
>
<
div
className
=
"font-bold text-4xl text-center m-2 border-b-2"
>
{
survey
.
title
}
{
survey
.
title
}
</
div
>
</
div
>
<
div
className
=
"font-bold text-
1
xl text-center m-2 resize-none"
>
<
div
className
=
"font-bold text-xl text-center m-2 resize-none"
>
{
survey
.
comment
}
{
survey
.
comment
}
</
div
>
</
div
>
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment