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 ">
|
||||
<div className="m-2 flex flex-row">
|
||||
{/* Inventory section */}
|
||||
{location.pathname === "/lst/app/old" ||
|
||||
(location.pathname === "/lst/app/old/" && (
|
||||
<div className="m-auto pr-2 flex flex-row gap-2">
|
||||
<ExportInventoryData />
|
||||
<AddCards />
|
||||
</div>
|
||||
))}
|
||||
{(location.pathname === "/lst/app/old" ||
|
||||
location.pathname === "/lst/app/old/") && (
|
||||
<div className="m-auto pr-2 flex flex-row gap-2">
|
||||
<ExportInventoryData />
|
||||
<AddCards />
|
||||
</div>
|
||||
)}
|
||||
{/* Demand mgt section this should also include plant token stuff */}
|
||||
{location.pathname === "/lst/app/old/dm" && (
|
||||
<div className="m-auto pr-2 flex flex-row gap-2">
|
||||
|
||||
Reference in New Issue
Block a user