Skip to content

Commit

Permalink
Merge pull request #1086 from kecnry/redshift-rv-fix
Browse files Browse the repository at this point in the history
fix redshift RV input float parsing
  • Loading branch information
pllim authored Feb 18, 2022
2 parents ddd3c25 + 7208b69 commit c523362
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jdaviz/configs/default/plugins/line_lists/line_lists.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<v-col>
<v-text-field
v-model="rs_rv"
@input='setRVFloat'
@blur="unpause_tables"
:step="rs_redshift_step"
class="mt-0 pt-0"
Expand Down Expand Up @@ -274,6 +275,9 @@
this.setRedshiftFloat = (v) => {
this.rs_redshift = parseFloat(v)
}
this.setRVFloat = (v) => {
this.rs_rv = parseFloat(v)
}
}
}
</script>
Expand Down

0 comments on commit c523362

Please # to comment.