@elice/material-quiz 1.250424.0 → 1.250428.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -473,6 +473,11 @@ var MaterialQuizEditContent = function MaterialQuizEditContent() {
473
473
  }
474
474
  });
475
475
  }
476
+ // Image type is always disabled
477
+ // ref: https://elicer.atlassian.net/browse/IP-6155
478
+ if (watchedOptionType === types.enums.QuizOptionType.Image) {
479
+ return null;
480
+ }
476
481
  return jsxRuntime.jsx(reactHookForm.Controller, {
477
482
  control: control,
478
483
  name: "isAutoGrade",
@@ -463,6 +463,11 @@ var MaterialQuizEditContent = function MaterialQuizEditContent() {
463
463
  }
464
464
  });
465
465
  }
466
+ // Image type is always disabled
467
+ // ref: https://elicer.atlassian.net/browse/IP-6155
468
+ if (watchedOptionType === enums.QuizOptionType.Image) {
469
+ return null;
470
+ }
466
471
  return jsx(Controller, {
467
472
  control: control,
468
473
  name: "isAutoGrade",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-quiz",
3
- "version": "1.250424.0",
3
+ "version": "1.250428.0",
4
4
  "description": "User view and editing components of Elice material quiz",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -76,8 +76,8 @@
76
76
  "@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
77
77
  "@elice/intl": "0.241127.0",
78
78
  "@elice/markdown": "1.241015.0",
79
- "@elice/material-shared-types": "1.250424.0",
80
- "@elice/material-shared-utils": "1.250424.0",
79
+ "@elice/material-shared-types": "1.250428.0",
80
+ "@elice/material-shared-utils": "1.250428.0",
81
81
  "@elice/mui-elements": "^5.250108.0-controllabel.0",
82
82
  "@elice/mui-system": "^5.250108.0-controllabel.0",
83
83
  "@elice/openapi-client-course": "^1.241220.0",