aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
authorZero~Informatique2020-02-02 05:13:35 +0100
committerZero~Informatique2020-02-02 05:13:35 +0100
commit3ed40acc6a788f4229a7ceab712068ec970e81cd (patch)
tree0c7b01a4f7be036ad6218a59f6a458e9f73e67e7 /viewer
parenta7b235d8874fe4ad1d7e7a5ce59510d9f55b857d (diff)
downloadldgallery-3ed40acc6a788f4229a7ceab712068ec970e81cd.tar.gz
viewer: file icon instead of question mark icon for unknown files
Diffstat (limited to 'viewer')
-rw-r--r--viewer/src/plugins/fontawesome.ts4
-rw-r--r--viewer/src/tools.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/viewer/src/plugins/fontawesome.ts b/viewer/src/plugins/fontawesome.ts
index a15f4ce..d70746d 100644
--- a/viewer/src/plugins/fontawesome.ts
+++ b/viewer/src/plugins/fontawesome.ts
@@ -33,7 +33,7 @@ import {
33 faTags, 33 faTags,
34 faAngleRight, 34 faAngleRight,
35 faWindowClose, 35 faWindowClose,
36 faQuestionCircle, 36 faFile,
37} from "@fortawesome/free-solid-svg-icons"; 37} from "@fortawesome/free-solid-svg-icons";
38 38
39library.add( 39library.add(
@@ -48,7 +48,7 @@ library.add(
48 faTags, 48 faTags,
49 faAngleRight, 49 faAngleRight,
50 faWindowClose, 50 faWindowClose,
51 faQuestionCircle, 51 faFile,
52); 52);
53 53
54config.autoAddCss = false; 54config.autoAddCss = false;
diff --git a/viewer/src/tools.ts b/viewer/src/tools.ts
index 94fdf33..124e183 100644
--- a/viewer/src/tools.ts
+++ b/viewer/src/tools.ts
@@ -52,7 +52,7 @@ export default class Tools {
52 return "folder"; 52 return "folder";
53 case "other": 53 case "other":
54 default: 54 default:
55 return "question-circle"; 55 return "file";
56 } 56 }
57 } 57 }
58 58