web-ui: add שומה label for appraisal doc type
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 30s
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:
@@ -38,6 +38,7 @@ const DOC_TYPE_LABELS: Record<string, string> = {
|
||||
protocol: "פרוטוקול",
|
||||
decision: "החלטת ועדה מקומית",
|
||||
plan: "תכנית",
|
||||
appraisal: "שומה",
|
||||
reference: "חומר רקע",
|
||||
auto: "—",
|
||||
};
|
||||
|
||||
@@ -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: "חומר רקע" },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user