hi-tm 0.16.6 → 0.16.8
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.
|
@@ -161,10 +161,11 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
|
|
|
161
161
|
// }, [userBranchesData]);
|
|
162
162
|
(0, react_1.useEffect)(() => {
|
|
163
163
|
if (userBranchesData !== undefined && userBranchesData.length > 0) {
|
|
164
|
-
setBranchNameSelected(userBranchesData[0]);
|
|
164
|
+
setBranchNameSelected(userBranchesData[0]);
|
|
165
165
|
}
|
|
166
|
-
}, []);
|
|
166
|
+
}, []);
|
|
167
167
|
const selectItemBranchHandler = (branch) => {
|
|
168
|
+
console.log("branch", branch);
|
|
168
169
|
setBranchNameSelected(branch);
|
|
169
170
|
selectBranchHandler(branch);
|
|
170
171
|
setIsOpenModalBranches(false);
|