Skip to content

Commit

Permalink
Update DashboardView.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Aug 21, 2023
1 parent 7cd305d commit b148c26
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions photon-client/src/views/DashboardView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ const cameraViewType = computed<number[]>({
return ret;
},
set: v => {
useCameraSettingsStore().currentPipelineSettings.inputShouldShow = v.includes(0);
useCameraSettingsStore().currentPipelineSettings.outputShouldShow = v.includes(1);
useCameraSettingsStore().changeCurrentPipelineSetting({ inputShouldShow: v.includes(0) }, false);
// useCameraSettingsStore().currentPipelineSettings.inputShouldShow = v.includes(0);
// useCameraSettingsStore().currentPipelineSettings.outputShouldShow = v.includes(1);
console.log(v)
useCameraSettingsStore().changeCurrentPipelineSetting({ inputShouldShow: v.includes(0), outputShouldShow: v.includes(1) }, true);
}
});
</script>
Expand Down

0 comments on commit b148c26

Please sign in to comment.