Fix links

This commit is contained in:
SepehrYahyaee
2026-06-13 17:24:25 +03:30
parent 3e5e9852ad
commit 6426233350
9 changed files with 78 additions and 20 deletions

View File

@@ -9,6 +9,7 @@ import {
} from "./outer-damage-parts";
import { ClaimVehicleTypeV2 } from "src/static/outer-car-parts-catalog";
import { canonicalizeResendDocumentKey } from "./claim-resend-document-keys";
import { resolveStoredFileUrl } from "./urlCreator";
export type ExpertResendCarPartV2 = {
id?: number | null;
@@ -161,8 +162,7 @@ export function mapExpertResendCarPartsForClient(
const capturedFromStore =
typeof stored.captured === "boolean" ? stored.captured : undefined;
const url =
cap?.url ||
(cap?.path && options.buildUrl ? options.buildUrl(cap.path) : undefined);
resolveStoredFileUrl(cap);
return {
id: sp.id,