hi-tm 0.17.5 → 0.17.7
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.
|
@@ -136,6 +136,8 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
|
|
|
136
136
|
logoName: "",
|
|
137
137
|
subBranch: [],
|
|
138
138
|
});
|
|
139
|
+
console.log("branchNameSelected", branchNameSelected);
|
|
140
|
+
console.log("userBranchesData", userBranchesData);
|
|
139
141
|
const [expandSubBranch, setIsExpandSubBranch] = (0, react_1.useState)(false);
|
|
140
142
|
const modalCloseRefPC = (0, react_1.useRef)(null);
|
|
141
143
|
const modalCloseRefMobile = (0, react_1.useRef)(null);
|
|
@@ -238,7 +240,7 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
|
|
|
238
240
|
react_1.default.createElement("p", { className: `${userBranchesData !== undefined && userBranchesData.length === 1
|
|
239
241
|
? "cursor-default"
|
|
240
242
|
: "cursor-pointer"}` }, branchNameSelected.name),
|
|
241
|
-
react_1.default.createElement(image_1.default, { src: iconsSRC.arrowSRC, alt: "arrow.svg", width: 16, height: 16, className: `customTransition ${userBranchesData !== undefined &&
|
|
243
|
+
react_1.default.createElement(image_1.default, { src: iconsSRC.arrowSRC, alt: "arrow.svg", width: 16, height: 16, className: `customTransition ${userBranchesData !== undefined && branchNameSelected.subBranch.length
|
|
242
244
|
? "hidden"
|
|
243
245
|
: isOpenModalBranches
|
|
244
246
|
? "flex rotate-180 cursor-pointer"
|