Skip to content

Commit 773d3b5

Browse files
authored
Merge pull request #155 from don-aot/CONDITIONS-task#151
CR-151:Submitted to EAO for' additional option/new attribute
2 parents c5523ac + 6a201a1 commit 773d3b5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

condition-api/src/condition_api/services/condition_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ def _format_attribute_value(key_name, raw_value, formatted_key_names):
10901090
return ConditionService.format_attribute_value(raw_value)
10911091
return (
10921092
raw_value.replace("{", "").replace("}", "").replace('"', "")
1093-
if raw_value and raw_value != "N/A"
1093+
if raw_value
10941094
else None
10951095
)
10961096

condition-web/src/components/ConditionDetails/ConditionAttribute/Constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export const SELECT_OPTIONS = {
6666
{ value: "Acceptance", label: "Acceptance" },
6767
{ value: "Review", label: "Review" },
6868
{ value: "Satisfaction", label: "Satisfaction" },
69+
{ value: "N/A", label: "N/A" },
6970
],
7071
[CONDITION_KEYS.MILESTONES_RELATED_TO_PLAN_SUBMISSION]: [
7172
{ value: "Pre-Construction", label: "Pre-Construction" },

0 commit comments

Comments
 (0)