Skip to content

Commit

Permalink
fix issue with stream display
Browse files Browse the repository at this point in the history
  • Loading branch information
srimanachanta committed Jul 16, 2023
1 parent 56b38a4 commit eb5a3c1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions photon-client/src/views/DashboardView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ const cameraViewType = computed<number[]>({
ret.push(1);
}
if(ret.length === 0) return [0];
return ret;
},
set: v => useCameraSettingsStore().changeCurrentPipelineSetting({
inputShouldShow: v.includes(0),
outputShouldShow: v.includes(1)
}, true)
set: v => {
useCameraSettingsStore().currentPipelineSettings.inputShouldShow = v.includes(0);
useCameraSettingsStore().currentPipelineSettings.outputShouldShow = v.includes(1);
useCameraSettingsStore().changeCurrentPipelineSetting({ inputShouldShow: v.includes(0) }, false);
}
});
</script>

Expand Down

0 comments on commit eb5a3c1

Please sign in to comment.