fix(nav): added missing add card button

This commit is contained in:
2025-11-03 18:01:15 -06:00
parent b4064e8769
commit 8fca201e04

View File

@@ -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">