diff options
author | Zero~Informatique | 2021-07-02 22:53:16 +0200 |
---|---|---|
committer | Zero~Informatique | 2021-07-03 00:05:22 +0200 |
commit | 9165cc1efcf7791f78b61b2c51a9de651b1b09aa (patch) | |
tree | 111cfdc74ddaf7b19ff27508f16ab84694b27670 /viewer/src/components/item_handlers/LdPdfViewer.vue | |
parent | 08ac32103fb5f8cca1861267dfd07a7c0d2faf62 (diff) | |
download | ldgallery-9165cc1efcf7791f78b61b2c51a9de651b1b09aa.tar.gz |
viewer: types normalization - gallery.d.ts
GitHub: closes #301
Diffstat (limited to 'viewer/src/components/item_handlers/LdPdfViewer.vue')
-rw-r--r-- | viewer/src/components/item_handlers/LdPdfViewer.vue | 3 |
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"> |
33 | import { PDFItem } from "@/@types/gallery"; | ||
33 | import { Component, Prop, Vue } from "vue-property-decorator"; | 34 | import { Component, Prop, Vue } from "vue-property-decorator"; |
34 | 35 | ||
35 | @Component | 36 | @Component |
36 | export default class LdPdfViewer extends Vue { | 37 | export 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; |