Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Update useReportIncident.tsx #2754

Open
wants to merge 104 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
71c115a
Update useReportIncident.tsx
bottercode Sep 24, 2021
a0b84a7
Merge branch 'master' into patch-1
matteovivona Sep 27, 2021
fa8cb8d
Merge branch 'master' into patch-1
Oct 2, 2021
9c22443
Merge branch 'master' into patch-1
Oct 2, 2021
d6014a5
Merge branch 'master' into patch-1
Oct 2, 2021
a3e1099
Merge branch 'master' into patch-1
Oct 2, 2021
6d2b6c5
Merge branch 'master' into patch-1
Oct 2, 2021
33d9140
Merge branch 'master' into patch-1
Oct 2, 2021
6016e91
Merge branch 'master' into patch-1
Oct 2, 2021
03878fd
Merge branch 'master' into patch-1
Oct 5, 2021
861b6f2
Merge branch 'master' into patch-1
Oct 6, 2021
09e4040
Merge branch 'master' into patch-1
Oct 7, 2021
6b107ba
Merge branch 'master' into patch-1
Oct 11, 2021
7f58ab2
Merge branch 'master' into patch-1
Oct 11, 2021
1b6802b
Merge branch 'master' into patch-1
Oct 12, 2021
05ebc6e
Merge branch 'master' into patch-1
Oct 12, 2021
8558f10
Merge branch 'master' into patch-1
Oct 12, 2021
2bd90e8
Merge branch 'master' into patch-1
Oct 13, 2021
3b61258
Merge branch 'master' into patch-1
Oct 15, 2021
1d8edc1
Merge branch 'master' into patch-1
Oct 15, 2021
f618bdb
Merge branch 'master' into patch-1
Oct 18, 2021
f24af4d
Merge branch 'master' into patch-1
Oct 19, 2021
9bda0b5
Merge branch 'master' into patch-1
Oct 21, 2021
be61bbd
Merge branch 'master' into patch-1
Oct 21, 2021
6be3286
Merge branch 'master' into patch-1
Oct 21, 2021
1794cb2
Merge branch 'master' into patch-1
Oct 21, 2021
5c91809
Merge branch 'master' into patch-1
Oct 21, 2021
cafc65e
Merge branch 'master' into patch-1
Oct 21, 2021
d6dddc2
Merge branch 'master' into patch-1
Oct 21, 2021
9e4c596
Merge branch 'master' into patch-1
Oct 21, 2021
a8237db
Merge branch 'master' into patch-1
Oct 21, 2021
1e16709
Merge branch 'master' into patch-1
Oct 21, 2021
a4c3373
Merge branch 'master' into patch-1
Oct 21, 2021
2a294b6
Merge branch 'master' into patch-1
Oct 21, 2021
cfb5f36
Merge branch 'master' into patch-1
Oct 21, 2021
b6a7cad
Merge branch 'master' into patch-1
Oct 22, 2021
7a6f5d0
Merge branch 'master' into patch-1
Oct 22, 2021
bc7e97e
Merge branch 'master' into patch-1
Oct 22, 2021
f967904
Merge branch 'master' into patch-1
Oct 22, 2021
3a83ff5
Merge branch 'master' into patch-1
Oct 22, 2021
423f524
Merge branch 'master' into patch-1
Oct 22, 2021
f80052a
Merge branch 'master' into patch-1
Nov 2, 2021
75dd6ac
Merge branch 'master' into patch-1
Nov 2, 2021
714f9a5
Merge branch 'master' into patch-1
Nov 2, 2021
1cdb9da
Merge branch 'master' into patch-1
Nov 2, 2021
b3707bb
Merge branch 'master' into patch-1
Nov 2, 2021
0704bcc
Merge branch 'master' into patch-1
Nov 2, 2021
b0f27d3
Merge branch 'master' into patch-1
Nov 2, 2021
27834bb
Merge branch 'master' into patch-1
Nov 3, 2021
0a0c98c
Merge branch 'master' into patch-1
Nov 3, 2021
8275c5c
Merge branch 'master' into patch-1
Nov 10, 2021
9068773
Merge branch 'master' into patch-1
Nov 10, 2021
d40ff00
Merge branch 'master' into patch-1
Nov 12, 2021
0a81bf8
Merge branch 'master' into patch-1
Nov 12, 2021
d99a003
Merge branch 'master' into patch-1
Nov 15, 2021
f42e8fb
Merge branch 'master' into patch-1
Nov 17, 2021
3128909
Merge branch 'master' into patch-1
Nov 17, 2021
517b745
Merge branch 'master' into patch-1
Nov 17, 2021
a7406dd
Merge branch 'master' into patch-1
Nov 17, 2021
c7f3764
Merge branch 'master' into patch-1
Nov 17, 2021
7b89b34
Merge branch 'master' into patch-1
Nov 17, 2021
3d80571
Merge branch 'master' into patch-1
Nov 17, 2021
a87eb67
Merge branch 'master' into patch-1
Nov 18, 2021
3b143f2
Merge branch 'master' into patch-1
Nov 19, 2021
bd39867
Merge branch 'master' into patch-1
Nov 19, 2021
9a278e7
Merge branch 'master' into patch-1
Nov 19, 2021
ece04c2
Merge branch 'master' into patch-1
Nov 19, 2021
a1218d2
Merge branch 'master' into patch-1
Nov 19, 2021
c866725
Merge branch 'master' into patch-1
Nov 21, 2021
8c3fcbe
Merge branch 'master' into patch-1
Nov 23, 2021
01e626f
Merge branch 'master' into patch-1
Nov 23, 2021
abbd5c9
Merge branch 'master' into patch-1
Nov 23, 2021
65a49dc
Merge branch 'master' into patch-1
Nov 25, 2021
09de8c7
Merge branch 'master' into patch-1
Nov 25, 2021
c695ab3
Merge branch 'master' into patch-1
Nov 29, 2021
3b36f87
Merge branch 'master' into patch-1
Dec 4, 2021
d5f7498
Merge branch 'master' into patch-1
Dec 13, 2021
d05fd74
Merge branch 'master' into patch-1
Dec 13, 2021
ecb8c86
Merge branch 'master' into patch-1
Dec 17, 2021
eeb86b9
Merge branch 'master' into patch-1
Dec 17, 2021
9f0e075
Merge branch 'master' into patch-1
Dec 17, 2021
895b170
Merge branch 'master' into patch-1
Dec 17, 2021
d35aed5
Merge branch 'master' into patch-1
Dec 17, 2021
21f8c11
Merge branch 'master' into patch-1
Dec 17, 2021
dc0f274
Merge branch 'master' into patch-1
Dec 23, 2021
91a3317
Merge branch 'master' into patch-1
Dec 27, 2021
e8dfa4d
Merge branch 'master' into patch-1
Dec 27, 2021
9badad8
Merge branch 'master' into patch-1
Dec 27, 2021
97c1074
Merge branch 'master' into patch-1
Dec 28, 2021
ff4e7d9
Merge branch 'master' into patch-1
Dec 28, 2021
1071046
Merge branch 'master' into patch-1
Dec 28, 2021
4340cf6
Merge branch 'master' into patch-1
Dec 28, 2021
676f507
Merge branch 'master' into patch-1
Dec 28, 2021
a5bee10
Merge branch 'master' into patch-1
Jan 2, 2022
94e3dee
Merge branch 'master' into patch-1
Jan 2, 2022
94d035d
Merge branch 'master' into patch-1
Jan 2, 2022
c4df184
Merge branch 'master' into patch-1
Jan 4, 2022
dbb6ce7
Merge branch 'master' into patch-1
Jan 4, 2022
72fb0f4
Merge branch 'master' into patch-1
Feb 12, 2022
6b5f64f
Merge branch 'master' into patch-1
Feb 12, 2022
61ab599
Merge branch 'master' into patch-1
Feb 12, 2022
2a1c550
Merge branch 'master' into patch-1
Feb 12, 2022
48d16b9
Merge branch 'master' into patch-1
Feb 12, 2022
ba9ddd6
Merge branch 'master' into patch-1
Feb 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/incidents/hooks/useReportIncident.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function reportIncident(incident: Incident): Promise<Incident> {
...incident,
code: getIncidentCode(),
status: 'reported',
reportedBy: 'some user',
reportedBy: 'incident.reportedBy', // changed some user to incident.reportedBy
reportedOn: new Date(Date.now()).toISOString(),
}
return IncidentRepository.save(updatedIncident)
Expand Down