aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/item_handlers/LdPdfViewer.vue
diff options
context:
space:
mode:
authorzeroinformatique2021-07-03 00:48:53 +0200
committerGitHub2021-07-03 00:48:53 +0200
commitb6605e2c4ee73ac8b994624098344db5e44ac07d (patch)
tree5ed06cc5ecdabe070f6fdb9bc4f9a8a3b435cbe6 /viewer/src/components/item_handlers/LdPdfViewer.vue
parent08ac32103fb5f8cca1861267dfd07a7c0d2faf62 (diff)
parent1f0377c1b4c2959c73fe4e368673f057ef369917 (diff)
downloadldgallery-b6605e2c4ee73ac8b994624098344db5e44ac07d.tar.gz
Merge pull request #302 from ldgallery/oz-types-normalization
viewer: types normalization
Diffstat (limited to 'viewer/src/components/item_handlers/LdPdfViewer.vue')
-rw-r--r--viewer/src/components/item_handlers/LdPdfViewer.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/viewer/src/components/item_handlers/LdPdfViewer.vue b/viewer/src/components/item_handlers/LdPdfViewer.vue
index 462c463..e55989a 100644
--- a/viewer/src/components/item_handlers/LdPdfViewer.vue
+++ b/viewer/src/components/item_handlers/LdPdfViewer.vue
@@ -30,11 +30,12 @@
30</template> 30</template>
31 31
32<script lang="ts"> 32<script lang="ts">
33import { PDFItem } from "@/@types/gallery";
33import { Component, Prop, Vue } from "vue-property-decorator"; 34import { Component, Prop, Vue } from "vue-property-decorator";
34 35
35@Component 36@Component
36export default class LdPdfViewer extends Vue { 37export default class LdPdfViewer extends Vue {
37 @Prop({ required: true }) readonly item!: Gallery.PDF; 38 @Prop({ required: true }) readonly item!: PDFItem;
38 39
39 get itemResourceUrl(): string { 40 get itemResourceUrl(): string {
40 return this.$galleryStore.resourceRoot + this.item.properties.resource; 41 return this.$galleryStore.resourceRoot + this.item.properties.resource;