fix: preserve bid drafts and align tender source data

This commit is contained in:
2026-09-06 08:40:10 +03:00
parent c91631d99f
commit 456728b4bd
26 changed files with 510 additions and 81 deletions
+5
View File
@@ -0,0 +1,5 @@
/** Normalize document providers without losing their source label. */
export function documentContent(result) {
if (typeof result === 'string') return result.trim();
return String(result?.metin || result?.text || '').trim();
}