aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/item_handlers/LdVideoViewer.vue
diff options
context:
space:
mode:
authorZero~Informatique2021-07-02 22:53:16 +0200
committerZero~Informatique2021-07-03 00:05:22 +0200
commit9165cc1efcf7791f78b61b2c51a9de651b1b09aa (patch)
tree111cfdc74ddaf7b19ff27508f16ab84694b27670 /viewer/src/components/item_handlers/LdVideoViewer.vue
parent08ac32103fb5f8cca1861267dfd07a7c0d2faf62 (diff)
downloadldgallery-9165cc1efcf7791f78b61b2c51a9de651b1b09aa.tar.gz
viewer: types normalization - gallery.d.ts
GitHub: closes #301
Diffstat (limited to 'viewer/src/components/item_handlers/LdVideoViewer.vue')
-rw-r--r--viewer/src/components/item_handlers/LdVideoViewer.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/viewer/src/components/item_handlers/LdVideoViewer.vue b/viewer/src/components/item_handlers/LdVideoViewer.vue
index 2e3a43c..a203b13 100644
--- a/viewer/src/components/item_handlers/LdVideoViewer.vue
+++ b/viewer/src/components/item_handlers/LdVideoViewer.vue
@@ -28,11 +28,12 @@
28</template> 28</template>
29 29
30<script lang="ts"> 30<script lang="ts">
31import { VideoItem } from "@/@types/gallery";
31import { Component, Prop, Vue } from "vue-property-decorator"; 32import { Component, Prop, Vue } from "vue-property-decorator";
32 33
33@Component 34@Component
34export default class LdVideoViewer extends Vue { 35export default class LdVideoViewer extends Vue {
35 @Prop({ required: true }) readonly item!: Gallery.Video; 36 @Prop({ required: true }) readonly item!: VideoItem;
36 37
37 get itemResourceUrl(): string { 38 get itemResourceUrl(): string {
38 return this.$galleryStore.resourceRoot + this.item.properties.resource; 39 return this.$galleryStore.resourceRoot + this.item.properties.resource;