aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/services/navigation.ts
diff options
context:
space:
mode:
authorpacien2020-05-13 00:43:40 +0200
committerNotkea2020-05-22 01:02:18 +0200
commitacffcad3f554be95ff728fb84df96d26094d0cc5 (patch)
treeea4f7f190112a4e827cd88c2a2d6e45ebb549e8a /viewer/src/services/navigation.ts
parent04d5cb917f4288c26a308dfda4ba788d77fda8fd (diff)
downloadldgallery-acffcad3f554be95ff728fb84df96d26094d0cc5.tar.gz
viewer: use different icon for plain text files
Diffstat (limited to 'viewer/src/services/navigation.ts')
-rw-r--r--viewer/src/services/navigation.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/viewer/src/services/navigation.ts b/viewer/src/services/navigation.ts
index 1869702..4d3b376 100644
--- a/viewer/src/services/navigation.ts
+++ b/viewer/src/services/navigation.ts
@@ -70,6 +70,8 @@ export default class Navigation {
70 switch (item.properties.type) { 70 switch (item.properties.type) {
71 case "picture": 71 case "picture":
72 return "image"; 72 return "image";
73 case "plaintext":
74 return "file-alt";
73 case "directory": 75 case "directory":
74 return "folder"; 76 return "folder";
75 case "other": 77 case "other":