aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/item_handlers/LdPlainTextViewer.vue
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/components/item_handlers/LdPlainTextViewer.vue')
-rw-r--r--viewer/src/components/item_handlers/LdPlainTextViewer.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/viewer/src/components/item_handlers/LdPlainTextViewer.vue b/viewer/src/components/item_handlers/LdPlainTextViewer.vue
index cd26d9d..79465d5 100644
--- a/viewer/src/components/item_handlers/LdPlainTextViewer.vue
+++ b/viewer/src/components/item_handlers/LdPlainTextViewer.vue
@@ -27,11 +27,12 @@
27</template> 27</template>
28 28
29<script lang="ts"> 29<script lang="ts">
30import { PlainTextItem } from "@/@types/gallery";
30import { Component, Prop, Vue } from "vue-property-decorator"; 31import { Component, Prop, Vue } from "vue-property-decorator";
31 32
32@Component 33@Component
33export default class LdPlainTextViewer extends Vue { 34export default class LdPlainTextViewer extends Vue {
34 @Prop({ required: true }) readonly item!: Gallery.PlainText; 35 @Prop({ required: true }) readonly item!: PlainTextItem;
35 36
36 get itemResourceUrl(): string { 37 get itemResourceUrl(): string {
37 return this.$galleryStore.resourceRoot + this.item.properties.resource; 38 return this.$galleryStore.resourceRoot + this.item.properties.resource;