diff options
author | Zero~Informatique | 2020-09-12 11:32:16 +0200 |
---|---|---|
committer | G.Fouet | 2020-09-12 22:34:13 +0200 |
commit | 836a67bf6455612af4e6e46450caf5f3b88b8edb (patch) | |
tree | cb612e66960eb35ff98d1fc18ec3e33e85f4e0c0 | |
parent | 4cb4b6fb60aae4dcfb7fdb778c674ec315efde38 (diff) | |
download | ldgallery-836a67bf6455612af4e6e46450caf5f3b88b8edb.tar.gz |
viewer: fixed a minor crash in the information panel for missing resources
(cherry picked from commit 24d542b11b91f967ec66ec0b5b2415427d028a8b)
-rw-r--r-- | viewer/src/components/LdInformation.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/components/LdInformation.vue b/viewer/src/components/LdInformation.vue index 29bd1be..66ccc80 100644 --- a/viewer/src/components/LdInformation.vue +++ b/viewer/src/components/LdInformation.vue | |||
@@ -18,7 +18,7 @@ | |||
18 | --> | 18 | --> |
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <div class="flex-column" :class="$style.infopanel"> | 21 | <div v-if="item" class="flex-column" :class="$style.infopanel"> |
22 | <div v-if="item.title" :class="$style.title">{{ item.title }}</div> | 22 | <div v-if="item.title" :class="$style.title">{{ item.title }}</div> |
23 | <time v-if="item.datetime" :datetime="item.datetime" :class="$style.datetime">{{ formatDate }}</time> | 23 | <time v-if="item.datetime" :datetime="item.datetime" :class="$style.datetime">{{ formatDate }}</time> |
24 | <div v-if="item.description" :class="$style.description" v-html="formatDescription" /> | 24 | <div v-if="item.description" :class="$style.description" v-html="formatDescription" /> |