feat: show provisional Acta PDF projection
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { Link, useParams } from 'react-router';
|
import { Link, useParams } from 'react-router';
|
||||||
|
import { DocumentPdfProjection } from '../components/DocumentPdfProjection';
|
||||||
import { Alert, LoadingBlock, errorMessage } from '../components/Feedback';
|
import { Alert, LoadingBlock, errorMessage } from '../components/Feedback';
|
||||||
import { Icon } from '../components/Icon';
|
import { Icon } from '../components/Icon';
|
||||||
import {
|
import {
|
||||||
@@ -70,6 +71,7 @@ export function InspectionActEditorPage() {
|
|||||||
<div className="inspection-act-asset-grid">{act.assets.map((asset) => <div className="inspection-member selected" key={asset.id}><span><strong>{asset.name}</strong><small>{asset.code} · {asset.typeName}</small></span></div>)}</div>
|
<div className="inspection-act-asset-grid">{act.assets.map((asset) => <div className="inspection-member selected" key={asset.id}><span><strong>{asset.name}</strong><small>{asset.code} · {asset.typeName}</small></span></div>)}</div>
|
||||||
</section>}
|
</section>}
|
||||||
|
|
||||||
|
{act && <DocumentPdfProjection kind="act" />}
|
||||||
{act && <InspectionFindingsPanel act={act} />}
|
{act && <InspectionFindingsPanel act={act} />}
|
||||||
{act && <InspectionClosurePanel act={act} />}
|
{act && <InspectionClosurePanel act={act} />}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user