Skip to content

Commit

Permalink
Show extra calibration options for Chirp sensor #975
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Dec 22, 2024
1 parent a1e9e80 commit cfd7b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/modals/SensorFormModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@
})}"
/>
</div>
<div class="col-6 col-sm-6 col-md-6 col-lg-2" class:d-none="{sensor_type !== 'chirp'}">
<div class="col-6 col-sm-6 col-md-6 col-lg-2" class:d-none="{!(hardware_type === 'chirp' && sensor_type === 'moisture')}">
<Field
type="number"
name="calibration.chirp_min_moist"
Expand All @@ -377,7 +377,7 @@
})}"
/>
</div>
<div class="col-6 col-sm-6 col-md-6 col-lg-2" class:d-none="{sensor_type !== 'chirp'}">
<div class="col-6 col-sm-6 col-md-6 col-lg-2" class:d-none="{!(hardware_type === 'chirp' && sensor_type === 'moisture')}">
<Field
type="number"
name="calibration.chirp_max_moist"
Expand Down

0 comments on commit cfd7b4e

Please sign in to comment.