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 +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -7893,7 +7893,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
7893
7893
|
return setFilters(_extends({}, filters, objectValue));
|
|
7894
7894
|
};
|
|
7895
7895
|
var viewNotification = function viewNotification(notification) {
|
|
7896
|
-
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;
|
|
7896
|
+
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;
|
|
7897
7897
|
var source = notification.source,
|
|
7898
7898
|
extraData = notification.extraData;
|
|
7899
7899
|
switch (source) {
|
|
@@ -7930,6 +7930,8 @@ var useNotificationList = function useNotificationList() {
|
|
|
7930
7930
|
case "CertificateApproved":
|
|
7931
7931
|
window.open("/dashboard/certification/2");
|
|
7932
7932
|
break;
|
|
7933
|
+
case "RequestCheckIn":
|
|
7934
|
+
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]));
|
|
7933
7935
|
}
|
|
7934
7936
|
};
|
|
7935
7937
|
var getData = useCallback(function () {
|
|
@@ -8136,7 +8138,7 @@ var NotificationList = function NotificationList() {
|
|
|
8136
8138
|
}
|
|
8137
8139
|
})), React.createElement("td", {
|
|
8138
8140
|
className: "text-center align-middle"
|
|
8139
|
-
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL", "Class Reflection Completed", "External Reflection Completed"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
8141
|
+
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL", "Class Reflection Completed", "External Reflection Completed", "RequestCheckIn"].includes(record.source) && React.createElement(AiOutlineEye, {
|
|
8140
8142
|
className: "cursor-pointer",
|
|
8141
8143
|
size: ICON_SIZE,
|
|
8142
8144
|
title: "Detail",
|