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/LdAudioViewer.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/LdAudioViewer.vue')
-rw-r--r-- | viewer/src/components/item_handlers/LdAudioViewer.vue | 5 |
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"> |
31 | import { Component, Prop, Vue } from "vue-property-decorator"; | 31 | import { AudioItem } from "@/@types/gallery"; |
32 | import Navigation from "@/services/navigation"; | 32 | import Navigation from "@/services/navigation"; |
33 | import { Component, Prop, Vue } from "vue-property-decorator"; | ||
33 | 34 | ||
34 | @Component | 35 | @Component |
35 | export default class LdAudioViewer extends Vue { | 36 | export 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; |