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.
@@ -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 "Student Session":
5216
- window.open("/start-session/" + JSON.parse(extraData).sessionId + "/" + ((_JSON$parse = JSON.parse(extraData)) === null || _JSON$parse === void 0 ? void 0 : _JSON$parse.sessionResultId) + "/1");
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":
@@ -5317,7 +5317,10 @@ var NotificationList = function NotificationList() {
5317
5317
  viewNotification = _useNotificationList.viewNotification;
5318
5318
 
5319
5319
  return React.createElement("div", {
5320
- className: "animated fadeIn"
5320
+ className: "animated fadeIn",
5321
+ style: {
5322
+ padding: "20px 40px"
5323
+ }
5321
5324
  }, React.createElement("h5", {
5322
5325
  className: "mb-2"
5323
5326
  }, header$3), React.createElement(Row, {
@@ -5382,7 +5385,7 @@ var NotificationList = function NotificationList() {
5382
5385
  }
5383
5386
  })), React.createElement("td", {
5384
5387
  className: "text-center align-middle"
5385
- }, ["AssessmentAssignment", "Student Session", "CertificateApproved"].includes(record.source) && React.createElement(AiOutlineEye, {
5388
+ }, ["AssessmentAssignment", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React.createElement(AiOutlineEye, {
5386
5389
  className: "cursor-pointer",
5387
5390
  size: ICON_SIZE,
5388
5391
  title: "Detail",