Skip to content

Commit

Permalink
build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
deepansh96 committed Jul 30, 2024
1 parent 94f4d01 commit 03e7965
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/Items/Question/Body.vue
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,15 @@ export default {
) {
return [
{
"h-4 sm:h-5": optionText == "" && !this.isImagePresentAtOptionIndex(optionIndex),
"h-4 sm:h-5": optionText != "" && !this.isImagePresentAtOptionIndex(optionIndex),
"h-4 sm:h-5": (
(
optionText == "" && !this.isImagePresentAtOptionIndex(optionIndex)
)
||
(
optionText != "" && !this.isImagePresentAtOptionIndex(optionIndex)
)
),
"h-full": this.isImagePresentAtOptionIndex(optionIndex),
},
"flex content-center"
Expand Down
1 change: 1 addition & 0 deletions src/pages/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,7 @@ export default {
if (this.imageUploaderMode == "question") return this.itemImage;
if (this.imageUploaderMode == "option" && this.imageUploaderOptionIndex != -1)
return this.currentOptionImage;
return null
},
/**
* URL of the image present for the current item
Expand Down

0 comments on commit 03e7965

Please sign in to comment.