@titaui/pc 1.12.93 → 1.12.94
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.
|
@@ -34,6 +34,8 @@ var _default = /*#__PURE__*/function () {
|
|
|
34
34
|
cb(_menus.PAGE_SUMMARY_SHARE);
|
|
35
35
|
} else if (this.isSubordinatesSummary()) {
|
|
36
36
|
cb(_menus.PAGE_SUMMARY_SUBORDINATE);
|
|
37
|
+
} else if (this.isSummaryDashboard()) {
|
|
38
|
+
cb(_menus.PAGE_SUMMARY_DASHBOARD);
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
return null;
|
|
@@ -68,6 +70,12 @@ var _default = /*#__PURE__*/function () {
|
|
|
68
70
|
var pathname = this.history.location.pathname;
|
|
69
71
|
return pathname.match(/summary\/chart/);
|
|
70
72
|
}
|
|
73
|
+
}, {
|
|
74
|
+
key: "isSummaryDashboard",
|
|
75
|
+
value: function isSummaryDashboard() {
|
|
76
|
+
var pathname = this.history.location.pathname;
|
|
77
|
+
return pathname.match(/summary\/dashboard/);
|
|
78
|
+
}
|
|
71
79
|
}]);
|
|
72
80
|
|
|
73
81
|
return _default;
|