@@ -27,7 +27,6 @@ import Link from '#components/Link';
2727import useGlobalEnums from '#hooks/domain/useGlobalEnums' ;
2828import useFilterState from '#hooks/useFilterState' ;
2929import {
30- COLOR_BLACK ,
3130 DISASTER_CATEGORY_ORANGE ,
3231 DISASTER_CATEGORY_RED ,
3332 DISASTER_CATEGORY_YELLOW ,
@@ -49,7 +48,6 @@ import {
4948 COLOR_ORANGE_SEVERITY ,
5049 COLOR_RED_SEVERITY ,
5150 COLOR_YELLOW_SEVERITY ,
52- DISASTER_UNCATEGORISED ,
5351 type ScaleOption ,
5452} from './utils' ;
5553
@@ -130,6 +128,10 @@ function ActiveOperationMap(props: Props) {
130128 dtype : filter . displacement ,
131129 district : hasSomeDefinedValue ( filter . district ) ? filter . district : undefined ,
132130 end_date__gt : now ,
131+ // NOTE: Filtering only those appeals that has not been confirmed
132+ // and does not contain event
133+ has_event : true ,
134+ needs_confirmation : false ,
133135 start_date__gte : filter . startDateAfter ,
134136 start_date__lte : filter . startDateBefore ,
135137 limit,
@@ -249,11 +251,6 @@ function ActiveOperationMap(props: Props) {
249251 label : strings . crisisYellowEmergency ,
250252 color : COLOR_YELLOW_SEVERITY ,
251253 } ,
252- {
253- value : DISASTER_UNCATEGORISED ,
254- label : strings . crisisUncategorisedEmergency ,
255- color : COLOR_BLACK ,
256- } ,
257254 ] ) ;
258255 } , [ strings , activeTab ] ) ;
259256
0 commit comments