Skip to content

Commit

Permalink
fix the control to decide whether to use the new input format
Browse files Browse the repository at this point in the history
  • Loading branch information
emelalkim committed Nov 16, 2023
1 parent e8b80ec commit d57e4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aim.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Aim {
let aimData;
const { image, study, answers, user } = data;
// new aim creation (data includes image||study data and answers)
if (image || study || answers) {
if ((image || study) && answers) {
if (aimType === enumAimType.imageAnnotation) {
aimData = getAimImageData(image);
}
Expand Down

0 comments on commit d57e4dc

Please sign in to comment.