@copart/ops-tool-kit 1.5.33 → 1.5.36
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/ops-tool-kit.js +7 -1
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -33,7 +33,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
|
33
33
|
var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
34
34
|
|
|
35
35
|
const name$e = "@copart/ops-tool-kit";
|
|
36
|
-
const version$3 = "1.5.
|
|
36
|
+
const version$3 = "1.5.36";
|
|
37
37
|
const main = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -2911,6 +2911,10 @@ var createOpsStorage = function createOpsStorage() {
|
|
|
2911
2911
|
return getLocalItem('dashboard', 'twilioEnabled') || false;
|
|
2912
2912
|
},
|
|
2913
2913
|
|
|
2914
|
+
get clickToDialEnabledStatus() {
|
|
2915
|
+
return localStorage.c2dEnabled ? JSON.parse(localStorage.c2dEnabled) : false;
|
|
2916
|
+
},
|
|
2917
|
+
|
|
2914
2918
|
get callCapsuleEnabledStatus() {
|
|
2915
2919
|
return getLocalItem('dashboard', 'isCallCapsuleEnabled') || false;
|
|
2916
2920
|
},
|
|
@@ -2944,6 +2948,7 @@ var createOpsStorage = function createOpsStorage() {
|
|
|
2944
2948
|
},
|
|
2945
2949
|
logout: function logout() {
|
|
2946
2950
|
clearStorage();
|
|
2951
|
+
localStorage.removeItem('c2dEnabled');
|
|
2947
2952
|
window.location.assign('/logout');
|
|
2948
2953
|
}
|
|
2949
2954
|
};
|
|
@@ -39247,6 +39252,7 @@ function filterOutNotificationByAudience(notifications) {
|
|
|
39247
39252
|
}
|
|
39248
39253
|
function filterNotifications(notifications) {
|
|
39249
39254
|
try {
|
|
39255
|
+
console.log(notifications);
|
|
39250
39256
|
return compose(filterOutNotificationByAudience, filterOutViewedNotifications, filterOutExpiredNotifications, filterOutNotificationForOtherApps)(notifications);
|
|
39251
39257
|
} catch (err) {
|
|
39252
39258
|
console.error(err);
|