mario-core 2.9.133-level → 2.9.135-level

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
@@ -7895,7 +7895,7 @@ var useNotificationList = function useNotificationList() {
7895
7895
  return setFilters(_extends({}, filters, objectValue));
7896
7896
  };
7897
7897
  var viewNotification = function viewNotification(notification) {
7898
- var _JSON$parse, _JSON$parse2, _extraData$replace, _extraData$replace$sp, _extraData$replace2, _extraData$replace2$s, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6, _JSON$parse7;
7898
+ var _JSON$parse, _JSON$parse2, _extraData$replace, _extraData$replace$sp, _extraData$replace2, _extraData$replace2$s, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6, _JSON$parse7, _JSON$parse8, _JSON$parse9;
7899
7899
  var source = notification.source,
7900
7900
  extraData = notification.extraData;
7901
7901
  switch (source) {
@@ -7932,6 +7932,8 @@ var useNotificationList = function useNotificationList() {
7932
7932
  case "CertificateApproved":
7933
7933
  window.open("/dashboard/certification/2");
7934
7934
  break;
7935
+ case "RequestCheckIn":
7936
+ window.open("/start-question/" + ((_JSON$parse8 = JSON.parse(extraData)) === null || _JSON$parse8 === void 0 ? void 0 : _JSON$parse8[0]) + "/" + ((_JSON$parse9 = JSON.parse(extraData)) === null || _JSON$parse9 === void 0 ? void 0 : _JSON$parse9[1]));
7935
7937
  }
7936
7938
  };
7937
7939
  var getData = React.useCallback(function () {
@@ -8138,7 +8140,7 @@ var NotificationList = function NotificationList() {
8138
8140
  }
8139
8141
  })), React__default.createElement("td", {
8140
8142
  className: "text-center align-middle"
8141
- }, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL", "Class Reflection Completed", "External Reflection Completed"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
8143
+ }, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL", "Class Reflection Completed", "External Reflection Completed", "RequestCheckIn"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
8142
8144
  className: "cursor-pointer",
8143
8145
  size: ICON_SIZE,
8144
8146
  title: "Detail",