aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorpacien2022-04-12 22:29:29 +0200
committerGitHub2022-04-12 22:29:29 +0200
commit87f2f631aec9ffbb794b5475a16353e873dbb2b7 (patch)
tree7bd0c65e680202b8c48ed9d875b9d0c45223b9e2 /viewer/src/views
parenta6b4a520f16092f38d8d97d5d746aa6777b8ced5 (diff)
parent581029f1b15b51f90812a47b20bce454014da32a (diff)
downloadldgallery-87f2f631aec9ffbb794b5475a16353e873dbb2b7.tar.gz
Merge pull request #307 from ldgallery/pacien-20210704-markdown-item-handler
viewer: markdown item handler
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/GalleryNavigation.vue1
-rw-r--r--viewer/src/views/SplashScreen.vue1
2 files changed, 2 insertions, 0 deletions
diff --git a/viewer/src/views/GalleryNavigation.vue b/viewer/src/views/GalleryNavigation.vue
index fdd3922..200637e 100644
--- a/viewer/src/views/GalleryNavigation.vue
+++ b/viewer/src/views/GalleryNavigation.vue
@@ -44,6 +44,7 @@ export default class GalleryNavigation extends Vue {
44 directory: "ld-directory-viewer", 44 directory: "ld-directory-viewer",
45 picture: "ld-picture-viewer", 45 picture: "ld-picture-viewer",
46 plaintext: "ld-plain-text-viewer", 46 plaintext: "ld-plain-text-viewer",
47 markdown: "ld-markdown-viewer",
47 pdf: "ld-pdf-viewer", 48 pdf: "ld-pdf-viewer",
48 video: "ld-video-viewer", 49 video: "ld-video-viewer",
49 audio: "ld-audio-viewer", 50 audio: "ld-audio-viewer",
diff --git a/viewer/src/views/SplashScreen.vue b/viewer/src/views/SplashScreen.vue
index dcb845d..93d84a1 100644
--- a/viewer/src/views/SplashScreen.vue
+++ b/viewer/src/views/SplashScreen.vue
@@ -30,6 +30,7 @@ export default class SplashScreen extends Vue {
30 this.fetchMarkdown(); 30 this.fetchMarkdown();
31 } 31 }
32 32
33 // TODO: Identical to LdMarkdownViewer.vue, use composition with Vue3.
33 fetchMarkdown() { 34 fetchMarkdown() {
34 FetchWithCheck.get(`${process.env.VUE_APP_DATA_URL}${this.config.resource}?${this.config.acknowledgmentKey ?? ""}`) 35 FetchWithCheck.get(`${process.env.VUE_APP_DATA_URL}${this.config.resource}?${this.config.acknowledgmentKey ?? ""}`)
35 .then(response => response.text()) 36 .then(response => response.text())