fix: icons-emoji fallback wasn't working for audio/video/image files
Massimo Melina committed
Jul 8, 2024 at 17:41 UTC
201a9c856277fe7e77ffae72fdded264a068f747
1 file changed
+3
frontend/src/icons.ts
+3
@@ -45,6 +45,9 @@ const SYS_ICONS: Record<string, [string] | [string, string | false]> = { // fals
45
repeat: ['🔁', 'reload'],
46
success: ['👍', 'check'],
47
warning: ['⚠️', false],
48
+ audio: ['🎧'],
49
+ video: ['🎥'],
50
+ image: ['📸'],
51
}
52
53
const documentComplete = document.readyState === 'complete' ? Promise.resolve()