Skip to content

Commit 34ec3dc

Browse files
committed
FIX:Blank/Empty option appearing in the Location filter [CPCN-1031]
1 parent c83eca8 commit 34ec3dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

assets/agenda/components/LocationFilter.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@ export class LocationFilter extends React.Component<any, any> {
337337
</button>
338338
);
339339
} else if (item.type === LOCATION_TYPE.STATE) {
340+
if (!item.name){
341+
return null;
342+
}
340343
return (
341344
<button
342345
key={`state.${item.name}[${index}]`}

0 commit comments

Comments
 (0)