web-ui: add שומה label for appraisal doc type
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 30s

The backend (app.py, documents.py, models.py) already maps appraisal→שומה
but the frontend DOC_TYPE_LABELS and upload DOC_TYPES dropdowns were
missing the entry, so appraisal documents rendered as the raw English
string instead of the Hebrew label.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-19 06:00:17 +00:00
parent e88e5f3849
commit 110901a66c
2 changed files with 2 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ const DOC_TYPE_LABELS: Record<string, string> = {
protocol: "פרוטוקול",
decision: "החלטת ועדה מקומית",
plan: "תכנית",
appraisal: "שומה",
reference: "חומר רקע",
auto: "—",
};

View File

@@ -27,6 +27,7 @@ const DOC_TYPES: { value: string; label: string }[] = [
{ value: "protocol", label: "פרוטוקול דיון" },
{ value: "decision", label: "החלטת ועדה מקומית" },
{ value: "plan", label: "תכנית" },
{ value: "appraisal",label: "שומה" },
{ value: "reference",label: "חומר רקע" },
];