aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorpacien2020-05-04 00:11:31 +0200
committerpacien2020-05-04 00:11:31 +0200
commit35456c6183c199b23ded85838414eb28a6d4b60f (patch)
treefed4b18d46ab28c1ebdb049afb8dd568d25872c0 /viewer/src/views
parentf328a730b516f5e9104f85e553c083c2865660a8 (diff)
downloadldgallery-35456c6183c199b23ded85838414eb28a6d4b60f.tar.gz
viewer/LdDownload: add generic file download handler
GitHub: closes #209
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/GalleryNavigation.vue5
1 files changed, 1 insertions, 4 deletions
diff --git a/viewer/src/views/GalleryNavigation.vue b/viewer/src/views/GalleryNavigation.vue
index 08c8218..2e40409 100644
--- a/viewer/src/views/GalleryNavigation.vue
+++ b/viewer/src/views/GalleryNavigation.vue
@@ -65,10 +65,7 @@ export default class GalleryNavigation extends Vue {
65 return { component: "ld-picture", properties: { picture: this.$galleryStore.currentItem } }; 65 return { component: "ld-picture", properties: { picture: this.$galleryStore.currentItem } };
66 66
67 default: 67 default:
68 return { 68 return { component: "ld-download", properties: { item: this.$galleryStore.currentItem } };
69 component: "ld-error",
70 properties: { icon: "file", message: this.$t("gallery.unknown-type") }
71 };
72 } 69 }
73 } 70 }
74} 71}