mario-core 2.5.5 → 2.5.9
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.
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5205,7 +5205,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
5205
5205
|
};
|
|
5206
5206
|
|
|
5207
5207
|
var viewNotification = function viewNotification(notification) {
|
|
5208
|
-
var _JSON$parse;
|
|
5208
|
+
var _JSON$parse, _JSON$parse2;
|
|
5209
5209
|
|
|
5210
5210
|
var source = notification.source,
|
|
5211
5211
|
extraData = notification.extraData;
|
|
@@ -5215,8 +5215,8 @@ var useNotificationList = function useNotificationList() {
|
|
|
5215
5215
|
window.open("/player/diagnosticsurvey/" + Number(extraData));
|
|
5216
5216
|
break;
|
|
5217
5217
|
|
|
5218
|
-
case "
|
|
5219
|
-
window.open("/start-
|
|
5218
|
+
case "NewSessionCreated":
|
|
5219
|
+
window.open("/start-question/" + ((_JSON$parse = JSON.parse(extraData)) === null || _JSON$parse === void 0 ? void 0 : _JSON$parse[0]) + "/" + ((_JSON$parse2 = JSON.parse(extraData)) === null || _JSON$parse2 === void 0 ? void 0 : _JSON$parse2[1]));
|
|
5220
5220
|
break;
|
|
5221
5221
|
|
|
5222
5222
|
case "CertificateApproved":
|
|
@@ -5320,7 +5320,10 @@ var NotificationList = function NotificationList() {
|
|
|
5320
5320
|
viewNotification = _useNotificationList.viewNotification;
|
|
5321
5321
|
|
|
5322
5322
|
return React__default.createElement("div", {
|
|
5323
|
-
className: "animated fadeIn"
|
|
5323
|
+
className: "animated fadeIn",
|
|
5324
|
+
style: {
|
|
5325
|
+
padding: "20px 40px"
|
|
5326
|
+
}
|
|
5324
5327
|
}, React__default.createElement("h5", {
|
|
5325
5328
|
className: "mb-2"
|
|
5326
5329
|
}, header$3), React__default.createElement(reactstrap.Row, {
|
|
@@ -5385,7 +5388,7 @@ var NotificationList = function NotificationList() {
|
|
|
5385
5388
|
}
|
|
5386
5389
|
})), React__default.createElement("td", {
|
|
5387
5390
|
className: "text-center align-middle"
|
|
5388
|
-
}, ["AssessmentAssignment", "
|
|
5391
|
+
}, ["AssessmentAssignment", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
|
|
5389
5392
|
className: "cursor-pointer",
|
|
5390
5393
|
size: ICON_SIZE,
|
|
5391
5394
|
title: "Detail",
|