aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero~Informatique2021-07-03 23:12:44 +0200
committerZero~Informatique2021-07-03 23:12:44 +0200
commit34fc1501f74f29d29737164e47977b7412c84ceb (patch)
tree504fb65761bbfbc6232af4a69fc948d2b08bb9a5
parentde6827776283d06eab889790a238979fb8156a3e (diff)
downloadldgallery-34fc1501f74f29d29737164e47977b7412c84ceb.tar.gz
viewer: types normalization
Forgot to rename two components, causing a regression from PR #302
-rw-r--r--viewer/src/components/item_handlers/LdPdfViewer.vue2
-rw-r--r--viewer/src/components/item_handlers/LdVideoViewer.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/viewer/src/components/item_handlers/LdPdfViewer.vue b/viewer/src/components/item_handlers/LdPdfViewer.vue
index e55989a..c6999bf 100644
--- a/viewer/src/components/item_handlers/LdPdfViewer.vue
+++ b/viewer/src/components/item_handlers/LdPdfViewer.vue
@@ -24,7 +24,7 @@
24 <!-- prefer native browser PDF viewer if available --> 24 <!-- prefer native browser PDF viewer if available -->
25 <object class="fill" :data="itemResourceUrl" type="application/pdf"> 25 <object class="fill" :data="itemResourceUrl" type="application/pdf">
26 <!-- TODO: fallback to PDF.js (https://github.com/pacien/ldgallery/issues/212) --> 26 <!-- TODO: fallback to PDF.js (https://github.com/pacien/ldgallery/issues/212) -->
27 <ld-download :item="item" /> 27 <ld-download-viewer :item="item" />
28 </object> 28 </object>
29 </div> 29 </div>
30</template> 30</template>
diff --git a/viewer/src/components/item_handlers/LdVideoViewer.vue b/viewer/src/components/item_handlers/LdVideoViewer.vue
index a203b13..be44922 100644
--- a/viewer/src/components/item_handlers/LdVideoViewer.vue
+++ b/viewer/src/components/item_handlers/LdVideoViewer.vue
@@ -22,7 +22,7 @@
22 <!-- intermediate container necessary to eliminate the scrollbar --> 22 <!-- intermediate container necessary to eliminate the scrollbar -->
23 <div class="fill no-scroll"> 23 <div class="fill no-scroll">
24 <video class="fill" :src="itemResourceUrl" :poster="thumbnailResourceUrl" preload="auto" controls> 24 <video class="fill" :src="itemResourceUrl" :poster="thumbnailResourceUrl" preload="auto" controls>
25 <ld-download :item="item" /> 25 <ld-download-viewer :item="item" />
26 </video> 26 </video>
27 </div> 27 </div>
28</template> 28</template>