Skip to content

Commit

Permalink
Some bug fixes so that this version doesn't crash
Browse files Browse the repository at this point in the history
  • Loading branch information
zachsa committed Jun 28, 2021
1 parent 765997e commit 1a92751
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import vocabularyFields from '../../../vocabulary-fields.js'
const fields = [
'id',
'adaptationSector',
'correspondingNationalPolicy',
'correspondingSubNationalPolicy',
'correspondingAction',
'nationalPolicy',
'regionalPolicy',
'target',
'hazard',
'otherHazard',
'observedClimateChangeImpacts',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const fields = [
'mitigationType',
'mitigationSubType',
'mitigationProgramme',
'correspondingNationalPolicy',
'correspondingSubNationalPolicy',
'nationalPolicy',
'regionalPolicy',
'primaryIntendedOutcome',
'coBenefitEnvironmental',
'coBenefitEnvironmentalDescription',
Expand Down
10 changes: 5 additions & 5 deletions src/client/src/pages/edit-project/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ const LoadProject = ({ id }) => {
adaptation {
id
adaptationSector
correspondingNationalPolicy
correspondingSubNationalPolicy
correspondingAction
nationalPolicy
regionalPolicy
target
hazard
otherHazard
observedClimateChangeImpacts
Expand All @@ -57,8 +57,8 @@ const LoadProject = ({ id }) => {
mitigationType
mitigationSubType
mitigationProgramme
correspondingNationalPolicy
correspondingSubNationalPolicy
nationalPolicy
regionalPolicy
primaryIntendedOutcome
coBenefitEnvironmental
coBenefitEnvironmentalDescription
Expand Down
12 changes: 6 additions & 6 deletions src/client/src/pages/project/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export default ({ id }) => {
mitigationType
mitigationSubType
mitigationProgramme
correspondingNationalPolicy
correspondingSubNationalPolicy
nationalPolicy
regionalPolicy
primaryIntendedOutcome
coBenefitEnvironmental
coBenefitEnvironmentalDescription
Expand Down Expand Up @@ -102,8 +102,8 @@ export default ({ id }) => {
'Mitigation type': ['mitigationType', 'mitigationSubType'],
'Policy information': [
'mitigationProgramme',
'correspondingNationalPolicy',
'correspondingSubNationalPolicy',
'nationalPolicy',
'regionalPolicy',
'primaryIntendedOutcome',
],
'Co-benefit information': [
Expand Down Expand Up @@ -135,8 +135,8 @@ export default ({ id }) => {
adaptationSections={{
'Adaptation details': [
'adaptationSector',
'correspondingNationalPolicy',
'correspondingSubNationalPolicy',
'nationalPolicy',
'regionalPolicy',
'correspondingAction',
],
'Climate impact': [
Expand Down

0 comments on commit 1a92751

Please sign in to comment.