aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/item_handlers/LdAudioViewer.vue
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/components/item_handlers/LdAudioViewer.vue')
-rw-r--r--viewer/src/components/item_handlers/LdAudioViewer.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/viewer/src/components/item_handlers/LdAudioViewer.vue b/viewer/src/components/item_handlers/LdAudioViewer.vue
index 2e0f8dc..559b10a 100644
--- a/viewer/src/components/item_handlers/LdAudioViewer.vue
+++ b/viewer/src/components/item_handlers/LdAudioViewer.vue
@@ -28,12 +28,13 @@
28</template> 28</template>
29 29
30<script lang="ts"> 30<script lang="ts">
31import { Component, Prop, Vue } from "vue-property-decorator"; 31import { AudioItem } from "@/@types/gallery";
32import Navigation from "@/services/navigation"; 32import Navigation from "@/services/navigation";
33import { Component, Prop, Vue } from "vue-property-decorator";
33 34
34@Component 35@Component
35export default class LdAudioViewer extends Vue { 36export default class LdAudioViewer extends Vue {
36 @Prop({ required: true }) readonly item!: Gallery.Audio; 37 @Prop({ required: true }) readonly item!: AudioItem;
37 38
38 get itemResourceUrl(): string { 39 get itemResourceUrl(): string {
39 return this.$galleryStore.resourceRoot + this.item.properties.resource; 40 return this.$galleryStore.resourceRoot + this.item.properties.resource;