From 8063119d3ee2182a595b2e53ee2bbc557a8a56c3 Mon Sep 17 00:00:00 2001
From: pacien
Date: Wed, 13 May 2020 00:18:46 +0200
Subject: viewer: add plain text file viewer

GitHub: closes #213
---
 viewer/src/views/GalleryNavigation.vue | 1 +
 1 file changed, 1 insertion(+)

(limited to 'viewer/src/views/GalleryNavigation.vue')

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 @@
     <gallery-search v-else-if="checkType('directory') && query.length > 0" :path="path" />
     <gallery-directory v-else-if="checkType('directory')" :directory="$galleryStore.currentItem" />
     <ld-picture v-else-if="checkType('picture')" :picture="$galleryStore.currentItem" />
+    <ld-plain-text-viewer v-else-if="checkType('plaintext')" :plain-text-item="$galleryStore.currentItem" />
     <ld-download v-else :item="$galleryStore.currentItem" />
   </div>
 </template>
-- 
cgit v1.2.3

