Explorar o código

fix: small issue with ViewYoutubeVideo modal

Kristian Vos %!s(int64=2) %!d(string=hai) anos
pai
achega
64b845f631
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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");