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 8868c3b commit 715b24a
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 715b24a

Please sign in to comment.