fix(nav): added missing add card button
This commit is contained in:
@@ -44,13 +44,13 @@ function RouteComponent() {
|
|||||||
<nav className="flex justify-end w-full shadow ">
|
<nav className="flex justify-end w-full shadow ">
|
||||||
<div className="m-2 flex flex-row">
|
<div className="m-2 flex flex-row">
|
||||||
{/* Inventory section */}
|
{/* Inventory section */}
|
||||||
{location.pathname === "/lst/app/old" ||
|
{(location.pathname === "/lst/app/old" ||
|
||||||
(location.pathname === "/lst/app/old/" && (
|
location.pathname === "/lst/app/old/") && (
|
||||||
<div className="m-auto pr-2 flex flex-row gap-2">
|
<div className="m-auto pr-2 flex flex-row gap-2">
|
||||||
<ExportInventoryData />
|
<ExportInventoryData />
|
||||||
<AddCards />
|
<AddCards />
|
||||||
</div>
|
</div>
|
||||||
))}
|
)}
|
||||||
{/* Demand mgt section this should also include plant token stuff */}
|
{/* Demand mgt section this should also include plant token stuff */}
|
||||||
{location.pathname === "/lst/app/old/dm" && (
|
{location.pathname === "/lst/app/old/dm" && (
|
||||||
<div className="m-auto pr-2 flex flex-row gap-2">
|
<div className="m-auto pr-2 flex flex-row gap-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user