소스 검색

fix: small issue with ViewYoutubeVideo modal

Kristian Vos 2 년 전
부모
커밋
64b845f631
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frontend/src/components/modals/ViewYoutubeVideo.vue

+ 1 - 1
frontend/src/components/modals/ViewYoutubeVideo.vue

@@ -144,7 +144,7 @@ const toggleMute = () => {
 
 const drawCanvas = () => {
 	if (!loaded.value) return;
-	const canvasElement = durationCanvas;
+	const canvasElement = durationCanvas.value;
 	if (!canvasElement) return;
 	const ctx = canvasElement.getContext("2d");