@@ -15,6 +15,7 @@ import {
|
||||
Textarea,
|
||||
} from "@/components/ui";
|
||||
import { apiFetch, ApiClientError } from "@/lib/client-api";
|
||||
import StepViewerPanel from "@/components/StepViewerPanel";
|
||||
|
||||
interface FileView {
|
||||
id: string;
|
||||
@@ -153,6 +154,16 @@ export default function AssemblyDetailClient({
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{assembly.stepFile ? (
|
||||
<StepViewerPanel
|
||||
className="mb-6"
|
||||
title="Assembly 3D"
|
||||
fileId={assembly.stepFile.id}
|
||||
fileName={assembly.stepFile.originalName}
|
||||
height={480}
|
||||
/>
|
||||
) : null}
|
||||
|
||||
<Card>
|
||||
<table className="w-full text-sm">
|
||||
<thead className="bg-slate-50 text-left text-slate-600 border-b border-slate-200">
|
||||
|
||||
Reference in New Issue
Block a user