Skip to content

Commit

Permalink
frontend: defaultParameterLoader: add trailing slash to filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed Nov 8, 2024
1 parent da6d8c7 commit 233f1aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/frontend/src/components/wizard/DefaultParamLoader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ export default Vue.extend({
}),
computed: {
filtered_param_sets(): Dictionary<Dictionary<number>> | undefined {
const fw_patch = `${this.vehicle}/${this.version}/${this.board}`
const fw_minor = `${this.vehicle}/${this.version?.major}.${this.version?.minor}/${this.board}`
const fw_major = `${this.vehicle}/${this.version?.major}/${this.board}`
const fw_patch = `${this.vehicle}/${this.version}/${this.board}/`
const fw_minor = `${this.vehicle}/${this.version?.major}.${this.version?.minor}/${this.board}/`
const fw_major = `${this.vehicle}/${this.version?.major}/${this.board}/`
// returns a new dict where the keys start with the fullname
// e.g. "ArduSub/BlueROV2/4.0.3" -> "ArduSub/BlueROV2/4.0.3/BlueROV2"
Expand Down

0 comments on commit 233f1aa

Please sign in to comment.