Skip to content

Commit 9a50443

Browse files
szabozoltan69frozenhelium
authored andcommitted
Type column to AppealDocs table, remove Location column
1 parent 6a4957f commit 9a50443

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed

.changeset/modern-rings-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"go-web-app": patch
3+
---
4+
5+
Due to go-web-app/issues/1640 the appealdoc type is needed in tables

app/src/views/EmergencyReportAndDocument/i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"addAReportLink": "Add a Report",
1414
"appealDocuments": "Appeal Documents ({count})",
1515
"appealDocumentDate": "Date",
16-
"appealDocumentLocation": "Location",
16+
"appealDocumentType": "Type",
1717
"appealDocumentCode": "Code",
1818
"appealDocumentDescription": "Description",
1919
"appealDocumentLink": "Name",

app/src/views/EmergencyReportAndDocument/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ export function Component() {
184184
},
185185
),
186186
createStringColumn<AppealDocumentType, number>(
187-
'iso',
188-
strings.appealDocumentLocation,
189-
(item) => item.iso,
187+
'type',
188+
strings.appealDocumentType,
189+
(item) => item.type,
190190
),
191191
createStringColumn<AppealDocumentType, number>(
192192
'code',
@@ -211,7 +211,7 @@ export function Component() {
211211
]),
212212
[
213213
strings.appealDocumentDate,
214-
strings.appealDocumentLocation,
214+
strings.appealDocumentType,
215215
strings.appealDocumentCode,
216216
strings.appealDocumentDescription,
217217
strings.appealDocumentLink,
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parent": "000009-1737021478924.json",
3+
"actions": [
4+
{
5+
"action": "add",
6+
"key": "appealDocumentType",
7+
"namespace": "emergencyReportAndDocument",
8+
"value": "Type"
9+
},
10+
{
11+
"action": "remove",
12+
"key": "appealDocumentLocation",
13+
"namespace": "emergencyReportAndDocument"
14+
}
15+
]
16+
}

0 commit comments

Comments
 (0)