Skip to content

Commit

Permalink
Remove commented and unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Feb 15, 2024
1 parent dba605e commit add02d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
8 changes: 0 additions & 8 deletions src/api-legacy/v1/borehole/stratigraphy/layer/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,7 @@ async def execute(self, id, field, value, user_id):
'grain_shape',
'grain_granularity',
'uscs_3',
# 'uscs_determination',
'debris',
# 'lithology_top_bedrock'
]:

schema = field
Expand All @@ -251,15 +249,9 @@ async def execute(self, id, field, value, user_id):
elif field == 'uscs_3':
schema = 'uscs_type'

# elif field == 'uscs_determination':
# schema = 'uscs_determination'

elif field == 'debris':
schema = 'debris'

# elif field == 'lithology_top_bedrock':
# schema = 'custom.lithology_top_bedrock'

await self.conn.execute("""
DELETE FROM bdms.layer_codelist
WHERE id_lay_fk = $1
Expand Down
5 changes: 1 addition & 4 deletions src/client/src/commons/form/multiple/multipleForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,7 @@ class MultipleForm extends React.Component {
this.getDomain("location_precision"),
this.getDomain("elevation_precision"),
this.getDomain("reference_elevation_qt", "elevation_precision"),
this.getDomain(
"reference_elevation_type",
"reference_elevation_type",
),
this.getDomain("reference_elevation_type"),
])}
{this.getGroup([
this.getDomain("kind"),
Expand Down

0 comments on commit add02d1

Please sign in to comment.