From 581029f1b15b51f90812a47b20bce454014da32a Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Tue, 12 Apr 2022 21:35:24 +0200
Subject: viewer: add markdown item handler
Minor CSS fixes
Comment for future upgrade to Vue3
---
viewer/src/components/item_handlers/LdMarkdownViewer.vue | 14 ++++----------
viewer/src/views/SplashScreen.vue | 1 +
2 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/viewer/src/components/item_handlers/LdMarkdownViewer.vue b/viewer/src/components/item_handlers/LdMarkdownViewer.vue
index ecebbcf..3b9a8d6 100644
--- a/viewer/src/components/item_handlers/LdMarkdownViewer.vue
+++ b/viewer/src/components/item_handlers/LdMarkdownViewer.vue
@@ -20,7 +20,7 @@
-
+
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 {
this.fetchMarkdown();
}
+ // TODO: Identical to LdMarkdownViewer.vue, use composition with Vue3.
fetchMarkdown() {
FetchWithCheck.get(`${process.env.VUE_APP_DATA_URL}${this.config.resource}?${this.config.acknowledgmentKey ?? ""}`)
.then(response => response.text())
--
cgit v1.2.3