From 089d4af30124909e91ef708efcd996381337e656 Mon Sep 17 00:00:00 2001 From: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com> Date: Mon, 14 Oct 2024 12:10:33 +0200 Subject: [PATCH] fix(dashboard): Hide note input on orders (#9555) **What** - Hides the input for notes on the order details page. - Should be re-added once we have support, so I have just commented out the component. --- .../order-activity-section/order-activity-section.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/admin/dashboard/src/routes/orders/order-detail/components/order-activity-section/order-activity-section.tsx b/packages/admin/dashboard/src/routes/orders/order-detail/components/order-activity-section/order-activity-section.tsx index 9574e9978a..14b191080c 100644 --- a/packages/admin/dashboard/src/routes/orders/order-detail/components/order-activity-section/order-activity-section.tsx +++ b/packages/admin/dashboard/src/routes/orders/order-detail/components/order-activity-section/order-activity-section.tsx @@ -1,7 +1,6 @@ import { AdminOrder } from "@medusajs/types" import { Container, Heading } from "@medusajs/ui" import { useTranslation } from "react-i18next" -import { OrderNoteForm } from "./order-note-form" import { OrderTimeline } from "./order-timeline" type OrderActivityProps = { @@ -17,7 +16,8 @@ export const OrderActivitySection = ({ order }: OrderActivityProps) => {
{t("orders.activity.header")}
- + {/* TODO: Re-add when we have support for notes */} + {/* */}