mario-core 2.5.8 → 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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -5202,7 +5202,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
5202
5202
|
};
|
|
5203
5203
|
|
|
5204
5204
|
var viewNotification = function viewNotification(notification) {
|
|
5205
|
-
var _JSON$parse;
|
|
5205
|
+
var _JSON$parse, _JSON$parse2;
|
|
5206
5206
|
|
|
5207
5207
|
var source = notification.source,
|
|
5208
5208
|
extraData = notification.extraData;
|
|
@@ -5212,8 +5212,8 @@ var useNotificationList = function useNotificationList() {
|
|
|
5212
5212
|
window.open("/player/diagnosticsurvey/" + Number(extraData));
|
|
5213
5213
|
break;
|
|
5214
5214
|
|
|
5215
|
-
case "
|
|
5216
|
-
window.open("/start-
|
|
5215
|
+
case "NewSessionCreated":
|
|
5216
|
+
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]));
|
|
5217
5217
|
break;
|
|
5218
5218
|
|
|
5219
5219
|
case "CertificateApproved":
|
|
@@ -5385,7 +5385,7 @@ var NotificationList = function NotificationList() {
|
|
|
5385
5385
|
}
|
|
5386
5386
|
})), React.createElement("td", {
|
|
5387
5387
|
className: "text-center align-middle"
|
|
5388
|
-
}, ["AssessmentAssignment", "
|
|
5388
|
+
}, ["AssessmentAssignment", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
5389
5389
|
className: "cursor-pointer",
|
|
5390
5390
|
size: ICON_SIZE,
|
|
5391
5391
|
title: "Detail",
|