diff --git a/src/Components/Order/Drawer.tsx b/src/Components/Order/Drawer.tsx
index 7b0dce0..e2963e7 100644
--- a/src/Components/Order/Drawer.tsx
+++ b/src/Components/Order/Drawer.tsx
@@ -95,7 +95,7 @@ export function OrderDetailDrawer({ OrderId, Admin, ParentLog }: IOrderComp) {
() => (Admin ? AdminHub : Hub).Order.Get.Order(OrderId),
{
onError(e) {
- Nav("History");
+ Nav(Admin ? "Admin/Order" : "History");
ParentLog.error(e);
},
useMemory: true
diff --git a/src/Components/Order/index.tsx b/src/Components/Order/index.tsx
index 7d3290f..d33391c 100644
--- a/src/Components/Order/index.tsx
+++ b/src/Components/Order/index.tsx
@@ -42,7 +42,7 @@ export function OrderDetail({ OrderId, Admin, ParentLog }: IOrderComp) {
}
- onClick={() => Nav("History", OrderId)}
+ onClick={() => Nav(Admin ? "Admin/Order" : "History", OrderId)}
/>
}
- onClick={() => Nav("History")}
+ onClick={() => Nav(Admin ? "Admin/Order" : "History")}
/>
}
>