From dd4016e217c804ff37d229a897bc36030db29316 Mon Sep 17 00:00:00 2001 From: Urtzi Alfaro Date: Mon, 15 Sep 2025 15:36:13 +0200 Subject: [PATCH] Fix UI for inventory page 2 --- .../app/operations/inventory/InventoryPage.tsx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/frontend/src/pages/app/operations/inventory/InventoryPage.tsx b/frontend/src/pages/app/operations/inventory/InventoryPage.tsx index f176c9c1..9b118175 100644 --- a/frontend/src/pages/app/operations/inventory/InventoryPage.tsx +++ b/frontend/src/pages/app/operations/inventory/InventoryPage.tsx @@ -366,11 +366,13 @@ const InventoryPage: React.FC = () => { description="Controla el stock de ingredientes y materias primas" actions={[ { - id: "new", + id: "add-new-item", label: "Nuevo Artículo", variant: "primary" as const, icon: Plus, - onClick: handleNewItem + onClick: handleNewItem, + tooltip: "Agregar nuevo artículo al inventario", + size: "md" } ]} /> @@ -465,9 +467,14 @@ const InventoryPage: React.FC = () => {

Intenta ajustar la búsqueda o agregar un nuevo artículo al inventario

- )}