Skip to content

Commit ee97704

Browse files
author
Benjamin Perez
committed
Disabled Preview button for text files
Signed-off-by: Benjamin Perez <[email protected]>
1 parent 844041f commit ee97704

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)