aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorpacien2020-05-13 00:18:46 +0200
committerNotkea2020-05-22 01:02:18 +0200
commit8063119d3ee2182a595b2e53ee2bbc557a8a56c3 (patch)
treea12fd2b372b0fe35dd0ed80dc42c47564e1cb40f /viewer/src/views
parentacffcad3f554be95ff728fb84df96d26094d0cc5 (diff)
downloadldgallery-8063119d3ee2182a595b2e53ee2bbc557a8a56c3.tar.gz
viewer: add plain text file viewer
GitHub: closes #213
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/GalleryNavigation.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/viewer/src/views/GalleryNavigation.vue b/viewer/src/views/GalleryNavigation.vue
index f36fc8a..b5f06a2 100644
--- a/viewer/src/views/GalleryNavigation.vue
+++ b/viewer/src/views/GalleryNavigation.vue
@@ -24,6 +24,7 @@
24 <gallery-search v-else-if="checkType('directory') && query.length > 0" :path="path" /> 24 <gallery-search v-else-if="checkType('directory') && query.length > 0" :path="path" />
25 <gallery-directory v-else-if="checkType('directory')" :directory="$galleryStore.currentItem" /> 25 <gallery-directory v-else-if="checkType('directory')" :directory="$galleryStore.currentItem" />
26 <ld-picture v-else-if="checkType('picture')" :picture="$galleryStore.currentItem" /> 26 <ld-picture v-else-if="checkType('picture')" :picture="$galleryStore.currentItem" />
27 <ld-plain-text-viewer v-else-if="checkType('plaintext')" :plain-text-item="$galleryStore.currentItem" />
27 <ld-download v-else :item="$galleryStore.currentItem" /> 28 <ld-download v-else :item="$galleryStore.currentItem" />
28 </div> 29 </div>
29</template> 30</template>