|
@@ -23,12 +23,13 @@ const LeftSide:React.FC<iNavSide> = ({ childRoutes, location, showBidsection = f
|
|
|
basePathname = pathname.substring(0, pathname.indexOf(route.path))
|
|
|
}
|
|
|
|
|
|
+
|
|
|
return (
|
|
|
<div className={userStore.showLeftSide ? "panel-sidebar" : "scale-out-hor-left"}>
|
|
|
<div>
|
|
|
<Tooltip title={!showBidsection ? userStore.projectName : tenderStore.bidsction_name} placement="right">
|
|
|
<div className="pi-pd-10 pi-mg-bottom-10 sidebar-title ">
|
|
|
- <span className="pi-ellipsis-2">{!showBidsection ? userStore.projectName : tenderStore.bidsction_name}</span>
|
|
|
+ <span className="pi-ellipsis-2">{!showBidsection ? userStore.projectName : (state?.name ?? tenderStore.bidsction_name)}</span>
|
|
|
</div>
|
|
|
</Tooltip>
|
|
|
<div className="pi-flex-column pi-justify-start">
|