Skip to content

Commit

Permalink
if stubble is retained you can do grazing
Browse files Browse the repository at this point in the history
  • Loading branch information
moisbo committed Nov 27, 2023
1 parent 49a66ad commit cfa5300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ function isIterable(obj) {
<el-col :span="5" class="p-2">
<rotation-select :modelValue="rotation['graze']" :year="rotation['year']" :name="'graze'"
:posibleValues="grazes" @update:modelValue="(v)=>{rotation['graze'] = v}"
:nullify="rotation['plant'] === 6 || rotation['stubble'] === 0 || rotation['stubble'] === 1"/>
:nullify="rotation['plant'] === 6 || rotation['stubble'] === 0"/>
</el-col>
<el-col :span="5" class="p-2">
<el-input v-model="rotation['fertiliser']"/>
Expand Down

0 comments on commit cfa5300

Please sign in to comment.