File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ export function Component() {
497497 />
498498 </ Container >
499499 ) }
500- { isDefined ( drefResponse ?. end_date ) && (
500+ { isDefined ( drefResponse ?. event_date ) && (
501501 < Container
502502 heading = { drefResponse ?. type_of_dref !== DREF_TYPE_IMMINENT
503503 && strings . dateWhenTheTriggerWasMetHeading }
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ import {
2828 TYPE_ASSESSMENT ,
2929 TYPE_IMMINENT ,
3030 TYPE_LOAN ,
31- TYPE_RESPONSE ,
3231} from '../common' ;
3332import { type PartialDref } from '../schema' ;
3433
@@ -253,7 +252,7 @@ function EventDetail(props: Props) {
253252 < Container
254253 heading = { strings . drefFormDescriptionEvent }
255254 >
256- { value . type_of_dref === TYPE_IMMINENT || value . type_of_dref === TYPE_RESPONSE ? (
255+ { value . type_of_dref === TYPE_IMMINENT ? (
257256 < InputSection
258257 title = { strings . drefFormApproximateDateOfImpact }
259258 >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export const ONSET_SUDDEN = 2 satisfies TypeOfOnsetEnum;
1616
1717export const TYPE_IMMINENT = 0 satisfies TypeOfDrefEnum ;
1818export const TYPE_ASSESSMENT = 1 satisfies TypeOfDrefEnum ;
19- export const TYPE_RESPONSE = 2 satisfies TypeOfDrefEnum ;
19+ // export const TYPE_RESPONSE = 2 satisfies TypeOfDrefEnum;
2020export const TYPE_LOAN = 3 satisfies TypeOfDrefEnum ;
2121
2222// FIXME: identify a way to store disaster
You can’t perform that action at this time.
0 commit comments