Disabled Preview button for text files (#2680)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2023-02-23 15:25:04 -06:00
committed by GitHub
parent 844041fc32
commit 154974c24e

View File

@@ -138,7 +138,7 @@ export const extensionPreview = (
"png",
"heic",
];
const textExtensions = ["pdf", "txt", "json"];
const textExtensions = ["pdf"];
const audioExtensions = ["wav", "mp3", "alac", "aiff", "dsd", "pcm"];
const videoExtensions = [
"mp4",