Skip to content

Commit 154974c

Browse files
authored
Disabled Preview button for text files (#2680)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
1 parent 844041f commit 154974c

File tree

1 file changed

+1
-1
lines changed
  • portal-ui/src/screens/Console/Buckets/ListBuckets/Objects

1 file changed

+1
-1
lines changed

portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const extensionPreview = (
138138
"png",
139139
"heic",
140140
];
141-
const textExtensions = ["pdf", "txt", "json"];
141+
const textExtensions = ["pdf"];
142142
const audioExtensions = ["wav", "mp3", "alac", "aiff", "dsd", "pcm"];
143143
const videoExtensions = [
144144
"mp4",

0 commit comments

Comments
 (0)