Skip to content
Snippets Groups Projects
Commit 60e0f4db authored by Albin Henriksson's avatar Albin Henriksson
Browse files

Fix tests

parent 169a6fe9
No related branches found
No related tags found
1 merge request!81Resolve "Use duplicate api"
Pipeline #41609 passed with warnings
...@@ -134,7 +134,7 @@ const PresentationEditorPage: React.FC = () => { ...@@ -134,7 +134,7 @@ const PresentationEditorPage: React.FC = () => {
} }
const renderSlideIcon = (slide: RichSlide) => { const renderSlideIcon = (slide: RichSlide) => {
switch (slide.questions[0].type_id) { switch (slide.questions && slide.questions[0].type_id) {
case 0: case 0:
return <InfoOutlinedIcon></InfoOutlinedIcon> // information slide return <InfoOutlinedIcon></InfoOutlinedIcon> // information slide
case 1: case 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment