mario-core 2.6.2 → 2.6.3

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 CHANGED
@@ -5202,7 +5202,7 @@ var useNotificationList = function useNotificationList() {
5202
5202
  };
5203
5203
 
5204
5204
  var viewNotification = function viewNotification(notification) {
5205
- var _JSON$parse, _JSON$parse2;
5205
+ var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4;
5206
5206
 
5207
5207
  var source = notification.source,
5208
5208
  extraData = notification.extraData;
@@ -5212,8 +5212,12 @@ var useNotificationList = function useNotificationList() {
5212
5212
  window.open("/player/diagnosticsurvey/" + Number(extraData));
5213
5213
  break;
5214
5214
 
5215
+ case "NewConferenceCreated":
5216
+ window.open("/start-conference/" + ((_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]) + "/conferenceRubric");
5217
+ break;
5218
+
5215
5219
  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]));
5220
+ window.open("/start-question/" + ((_JSON$parse3 = JSON.parse(extraData)) === null || _JSON$parse3 === void 0 ? void 0 : _JSON$parse3[0]) + "/" + ((_JSON$parse4 = JSON.parse(extraData)) === null || _JSON$parse4 === void 0 ? void 0 : _JSON$parse4[1]));
5217
5221
  break;
5218
5222
 
5219
5223
  case "CertificateApproved":
@@ -5385,7 +5389,7 @@ var NotificationList = function NotificationList() {
5385
5389
  }
5386
5390
  })), React__default.createElement("td", {
5387
5391
  className: "text-center align-middle"
5388
- }, ["AssessmentAssignment", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
5392
+ }, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
5389
5393
  className: "cursor-pointer",
5390
5394
  size: ICON_SIZE,
5391
5395
  title: "Detail",