@digabi/exam-engine-core 20.0.0-alpha.0 → 20.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/components/RenderIf.d.ts.map +1 -1
- package/dist/components/context/withContext.d.ts.map +1 -1
- package/dist/components/exam/Question.d.ts.map +1 -1
- package/dist/components/exam/Question.js +7 -0
- package/dist/components/exam/Question.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/store/answers/sagas.js +2 -2
- package/dist/store/answers/sagas.js.map +1 -1
- package/package.json +3 -3
@@ -35,7 +35,7 @@ function* answerHistorySaga(examServerApi) {
|
|
35
35
|
const action = yield take('SELECT_ANSWER_VERSION');
|
36
36
|
const { questionId, questionText } = action.payload;
|
37
37
|
if (examServerApi.logActivity) {
|
38
|
-
yield call(examServerApi.logActivity, `Opened answer version history for question ${questionId}`);
|
38
|
+
yield call(examServerApi.logActivity, `Opened answer version history for question ${questionId}, ${questionText}`);
|
39
39
|
}
|
40
40
|
try {
|
41
41
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
@@ -43,7 +43,7 @@ function* answerHistorySaga(examServerApi) {
|
|
43
43
|
if (maybeNewAnswer) {
|
44
44
|
yield put(saveAnswer(maybeNewAnswer));
|
45
45
|
if (examServerApi.logActivity) {
|
46
|
-
yield call(examServerApi.logActivity, `Restored answer version for question ${questionId}
|
46
|
+
yield call(examServerApi.logActivity, `Restored answer version for question ${questionId}, ${questionText}`);
|
47
47
|
}
|
48
48
|
}
|
49
49
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sagas.js","sourceRoot":"","sources":["../../../src/store/answers/sagas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAEzE,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,mBAAmB,EAAuB,MAAM,WAAW,CAAA;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E,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACtB,CAAC;IACH,CAAC;AACH,CAAC;AAED,6EAA6E;AAC7E,MAAM,CAAC,OAAO,SAAS,CAAC,CAAC,IAAI,CAAC,aAA4B;IACxD,MAAM,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC,CAAA;IACtC,MAAM,IAAI,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAA;AAC9C,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@digabi/exam-engine-core",
|
3
|
-
"version": "20.0.
|
3
|
+
"version": "20.0.1",
|
4
4
|
"main": "dist/main-bundle.js",
|
5
5
|
"types": "dist/index.d.ts",
|
6
6
|
"author": "Matriculation Examination Board, Finland",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
28
28
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
29
29
|
"classnames": "^2.2.6",
|
30
|
-
"css-loader": "^
|
30
|
+
"css-loader": "^7.0.0",
|
31
31
|
"css-minimizer-webpack-plugin": "^6.0.0",
|
32
32
|
"date-fns": "^3.3.1",
|
33
33
|
"downshift": "^9.0.0",
|
@@ -58,5 +58,5 @@
|
|
58
58
|
"webpack-bundle-analyzer": "^4.1.0",
|
59
59
|
"webpack-cli": "^5.0.2"
|
60
60
|
},
|
61
|
-
"gitHead": "
|
61
|
+
"gitHead": "7d2821712ee207132d349f8d967633283ad8f41f"
|
62
62
|
}
|