File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed
app/src/views/DrefApplicationExport Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " go-web-app " : patch
3+ ---
4+
5+ Update Imminent DREF Application export
6+
7+ - Add missing hazard date and risk section
8+ - Improve layout of ` Proposed Actions ` table
Original file line number Diff line number Diff line change @@ -419,12 +419,10 @@ export function Component() {
419419 || anticipatoryActionsDefined
420420 || isDefined ( event_map_file ?. file ) ;
421421
422- const hazardDateAndLocationDefined = (
423- type_of_dref === DREF_TYPE_IMMINENT && ! is_dref_imminent_v2
424- ) && isDefined ( hazard_date_and_location ) ;
425- const hazardRiskDefined = (
426- type_of_dref === DREF_TYPE_IMMINENT && ! is_dref_imminent_v2
427- ) && hazard_vulnerabilities_and_risks ;
422+ const hazardDateAndLocationDefined = type_of_dref === DREF_TYPE_IMMINENT
423+ && isDefined ( hazard_date_and_location ) ;
424+ const hazardRiskDefined = type_of_dref === DREF_TYPE_IMMINENT
425+ && hazard_vulnerabilities_and_risks ;
428426
429427 const riskRegions = district_details . map (
430428 ( district ) => district . name ,
Original file line number Diff line number Diff line change 262262 .proposed-actions {
263263 display : grid;
264264 grid-gap : var (--go-ui-width-separator-md );
265- grid-template-columns : 4 fr 5 fr 5 fr 4 fr ;
265+ grid-template-columns : 3 fr 3 fr 6 fr 2 fr ;
266266 page-break-inside : avoid;
267267
268268 .action-title-label {
You can’t perform that action at this time.
0 commit comments