aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/item_handlers/VideoViewer.vue
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/views/item_handlers/VideoViewer.vue')
-rw-r--r--viewer/src/views/item_handlers/VideoViewer.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/viewer/src/views/item_handlers/VideoViewer.vue b/viewer/src/views/item_handlers/VideoViewer.vue
index 7d17367..8f0e775 100644
--- a/viewer/src/views/item_handlers/VideoViewer.vue
+++ b/viewer/src/views/item_handlers/VideoViewer.vue
@@ -36,12 +36,12 @@
36<script setup lang="ts"> 36<script setup lang="ts">
37import { VideoItem } from '@/@types/gallery'; 37import { VideoItem } from '@/@types/gallery';
38import { useItemResource } from '@/services/ui/ldItemResourceUrl'; 38import { useItemResource } from '@/services/ui/ldItemResourceUrl';
39import { PropType } from 'vue'; 39import { PropType, toRef } from 'vue';
40import DownloadViewer from './DownloadViewer.vue'; 40import DownloadViewer from './DownloadViewer.vue';
41 41
42const props = defineProps({ 42const props = defineProps({
43 item: { type: Object as PropType<VideoItem>, required: true }, 43 item: { type: Object as PropType<VideoItem>, required: true },
44}); 44});
45 45
46const { itemResourceUrl, thumbnailResourceUrl } = useItemResource(props.item); 46const { itemResourceUrl, thumbnailResourceUrl } = useItemResource(toRef(props, 'item'));
47</script> 47</script>