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.
This commit is contained in:
+2
-2
@@ -1,7 +1,6 @@
|
|||||||
import { AdminOrder } from "@medusajs/types"
|
import { AdminOrder } from "@medusajs/types"
|
||||||
import { Container, Heading } from "@medusajs/ui"
|
import { Container, Heading } from "@medusajs/ui"
|
||||||
import { useTranslation } from "react-i18next"
|
import { useTranslation } from "react-i18next"
|
||||||
import { OrderNoteForm } from "./order-note-form"
|
|
||||||
import { OrderTimeline } from "./order-timeline"
|
import { OrderTimeline } from "./order-timeline"
|
||||||
|
|
||||||
type OrderActivityProps = {
|
type OrderActivityProps = {
|
||||||
@@ -17,7 +16,8 @@ export const OrderActivitySection = ({ order }: OrderActivityProps) => {
|
|||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<Heading level="h2">{t("orders.activity.header")}</Heading>
|
<Heading level="h2">{t("orders.activity.header")}</Heading>
|
||||||
</div>
|
</div>
|
||||||
<OrderNoteForm order={order} />
|
{/* TODO: Re-add when we have support for notes */}
|
||||||
|
{/* <OrderNoteForm order={order} /> */}
|
||||||
</div>
|
</div>
|
||||||
<OrderTimeline order={order} />
|
<OrderTimeline order={order} />
|
||||||
</Container>
|
</Container>
|
||||||
|
|||||||
Reference in New Issue
Block a user