Skip to content

Commit

Permalink
frontend: fix object detection tab model selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Alextopher committed Sep 19, 2024
1 parent e0d9a5e commit 4feb3a0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ const supportedModels = computed(() => {
const selectedModel = computed({
get: () => supportedModels.value.indexOf(currentPipelineSettings.value.model),
set: (v) => useCameraSettingsStore().changeCurrentPipelineSetting({ model: supportedModels[v] }, false),
set: (v) => {
useCameraSettingsStore().changeCurrentPipelineSetting({ model: supportedModels.value[v] }, false)
},
});
</script>

Expand Down

0 comments on commit 4feb3a0

Please sign in to comment.