From 27fb70724b263c12b59c7fb34b0b5774753b8c17 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Fri, 17 Apr 2026 14:03:41 -0400 Subject: [PATCH] Remove Vendor tab from Activity section - Vendor communication now lives in the dispatch detail modal - Activity tabs: Customer, Internal, Audit Log - Comment input only shows on Internal tab --- src/pages/workorders/view/WorkOrderViewPage.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pages/workorders/view/WorkOrderViewPage.js b/src/pages/workorders/view/WorkOrderViewPage.js index 6aff0b80..9facd888 100644 --- a/src/pages/workorders/view/WorkOrderViewPage.js +++ b/src/pages/workorders/view/WorkOrderViewPage.js @@ -675,18 +675,16 @@ export default function WorkOrderViewPage() { const allComments = wo.comments || []; const customerComments = allComments.filter((c) => c.commentType === "customer"); - const vendorComments = allComments.filter((c) => c.commentType === "vendor"); const internalComments = allComments.filter((c) => c.commentType === "internal"); const auditLog = wo.auditLog || []; const tabs = [ { key: "customer", label: "Customer", count: customerComments.length }, - { key: "vendor", label: "Vendor", count: vendorComments.length }, { key: "internal", label: "Internal", count: internalComments.length }, { key: "audit", label: "Audit Log", count: auditLog.length }, ]; - const showInput = activeTab === "internal" || activeTab === "vendor"; + const showInput = activeTab === "internal"; return (