Skip to content

Commit

Permalink
Merge branch 'development' of github.com:SafeExamBrowser/seb-screen-p…
Browse files Browse the repository at this point in the history
…roctoring-gui into SEBSP-118
  • Loading branch information
Nadim Ritter committed Jun 5, 2024
2 parents e521571 + 8b35ab1 commit 1f9444d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions client/src/components/views/proctoring/ProctoringViewPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
//router params
const sessionId: string = useRoute().params.sessionId.toString();
const searchTimestampOnLoad = ref<boolean>(false);
const searchTimestamp: string | undefined = useRoute().query.searchTimestamp?.toString();
//fullscreen
Expand Down Expand Up @@ -444,11 +445,15 @@
}
stopIntervalScreenshots();
isLiveSelected.value = true;
isPlaying.value = true;
isLiveButtonDisabled.value = true;
if(!searchTimestampOnLoad.value){
isLiveSelected.value = true;
isPlaying.value = true;
isLiveButtonDisabled.value = true;
sliderTime.value = sliderMax.value;
}
sliderTime.value = sliderMax.value;
searchTimestampOnLoad.value = false;
startIntervalLiveImage();
startIntervalRefresh();
Expand Down Expand Up @@ -545,6 +550,7 @@
function setStartingSliderTime(){
if(searchTimestamp){
searchTimestampOnLoad.value = true;
sliderTime.value = parseInt(searchTimestamp);
}else{
sliderTime.value = sliderMin.value;
Expand Down

0 comments on commit 1f9444d

Please sign in to comment.