From 46471adb87eb1c5b1db72c6623eabe17a3f8d180 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Fri, 8 Nov 2024 14:05:34 -0300 Subject: [PATCH] frontend: defaultParameterLoader: add trailing slash to filters --- core/frontend/src/components/wizard/DefaultParamLoader.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/frontend/src/components/wizard/DefaultParamLoader.vue b/core/frontend/src/components/wizard/DefaultParamLoader.vue index e3a343fee3..46604a2a8f 100755 --- a/core/frontend/src/components/wizard/DefaultParamLoader.vue +++ b/core/frontend/src/components/wizard/DefaultParamLoader.vue @@ -126,9 +126,9 @@ export default Vue.extend({ }), computed: { filtered_param_sets(): Dictionary> | 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"