asab_webui_shell 27.5.0 → 27.5.1
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.
|
@@ -35,7 +35,7 @@ var SidebarItem = _ref => {
|
|
|
35
35
|
setActive = _useState2[1];
|
|
36
36
|
var lowercasedItemName = item === null || item === void 0 || (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.toLowerCase();
|
|
37
37
|
// Attention requred flag
|
|
38
|
-
var itemBeacon = beacon ? beacon["beacon.".concat(lowercasedItemName)]
|
|
38
|
+
var itemBeacon = beacon === null || beacon === void 0 ? void 0 : beacon["beacon.".concat(lowercasedItemName)];
|
|
39
39
|
(0, _react.useEffect)(() => {
|
|
40
40
|
// TODO: refactor the handling of active and open states, since it does not behave as expected in some cases
|
|
41
41
|
if (isOpen && !isActive) {
|