From d59b92a1b481bd08fd3314a286d267bcf7c205d9 Mon Sep 17 00:00:00 2001 From: Urtzi Alfaro Date: Wed, 24 Sep 2025 20:14:49 +0200 Subject: [PATCH] Fix some UI issues --- .../operations/production/ProductionPage.tsx | 23 ++----------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/frontend/src/pages/app/operations/production/ProductionPage.tsx b/frontend/src/pages/app/operations/production/ProductionPage.tsx index acb57181..baa62e98 100644 --- a/frontend/src/pages/app/operations/production/ProductionPage.tsx +++ b/frontend/src/pages/app/operations/production/ProductionPage.tsx @@ -27,7 +27,6 @@ import { useProductionEnums } from '../../../../utils/enumHelpers'; import { ProcessStage } from '../../../../api/types/qualityTemplates'; const ProductionPage: React.FC = () => { - const [activeTab, setActiveTab] = useState('schedule'); const [searchQuery, setSearchQuery] = useState(''); const [selectedBatch, setSelectedBatch] = useState(null); const [showBatchModal, setShowBatchModal] = useState(false); @@ -361,25 +360,8 @@ const ProductionPage: React.FC = () => { columns={3} /> - {/* Tabs Navigation */} -
- -
- - {/* Production Orders Tab */} - {activeTab === 'schedule' && ( - <> + {/* Production Batches Section - No tabs needed */} + <> {/* Search Controls */}
@@ -484,7 +466,6 @@ const ProductionPage: React.FC = () => {
)} - )}