hi-tm 0.14.4 → 0.14.5
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.
|
@@ -134,6 +134,7 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
|
|
|
134
134
|
urlName: "",
|
|
135
135
|
imageName: "",
|
|
136
136
|
logoName: "",
|
|
137
|
+
subBranch: [],
|
|
137
138
|
});
|
|
138
139
|
const modalCloseRefPC = (0, react_1.useRef)(null);
|
|
139
140
|
const modalCloseRefMobile = (0, react_1.useRef)(null);
|
|
@@ -308,6 +309,7 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
|
|
|
308
309
|
: "scale-y-0 opacity-0"} origin-top` },
|
|
309
310
|
react_1.default.createElement("ul", { className: "flex h-auto w-full flex-col items-start justify-center gap-3 bg-inherit p-3" }, userBranchesData &&
|
|
310
311
|
userBranchesData.map((item) => (react_1.default.createElement("li", { onClick: () => selectItemBranchHandler(item), key: item?.id, className: "customTransition flex w-full flex-row items-center justify-end gap-2 rounded-tiny px-5 py-2 text-text-color-primary hover:bg-gray-primary" },
|
|
312
|
+
item.subBranch.length > 0 && (react_1.default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: `transition-transform ` })),
|
|
311
313
|
react_1.default.createElement(image_1.default, { src: item.logoName
|
|
312
314
|
? `${baseUrlCDN}/${item.urlName || branchName}/${item.logoName}`
|
|
313
315
|
: imageDefaultSRC, alt: "logo.svg", width: 16, height: 16, className: "rounded-xl" }),
|