From 932d6449094920d7ca10f76eeaac58e142d2763b Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 19 May 2020 21:09:58 +0200 Subject: viewer: add audio and video icons --- viewer/src/plugins/fontawesome-icons.ts | 2 ++ viewer/src/services/navigation.ts | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'viewer') diff --git a/viewer/src/plugins/fontawesome-icons.ts b/viewer/src/plugins/fontawesome-icons.ts index ffe3709..51eda7e 100644 --- a/viewer/src/plugins/fontawesome-icons.ts +++ b/viewer/src/plugins/fontawesome-icons.ts @@ -33,5 +33,7 @@ export { faFile, faFileAlt, faFilePdf, + faFileVideo, + faFileAudio, faFileDownload, } from "@fortawesome/free-solid-svg-icons"; diff --git a/viewer/src/services/navigation.ts b/viewer/src/services/navigation.ts index f96904d..068d081 100644 --- a/viewer/src/services/navigation.ts +++ b/viewer/src/services/navigation.ts @@ -74,6 +74,10 @@ export default class Navigation { return "file-alt"; case "pdf": return "file-pdf"; + case "video": + return "file-video"; + case "audio": + return "file-audio"; case "directory": return "folder"; case "other": -- cgit v1.2.3