This commit is contained in:
Simon Cambier
2023-07-28 11:12:49 +02:00
parent eecae4739b
commit fe76932b12
3 changed files with 54 additions and 46 deletions

View File

@@ -278,12 +278,10 @@ export function isContentIndexable(path: string): boolean {
export function isFilenameIndexable(path: string): boolean {
return (
canIndexUnsupportedFiles() ||
(canIndexUnsupportedFiles()) ||
isFilePlaintext(path) ||
isFileCanvas(path) ||
isFileFromDataloomPlugin(path) ||
isFilePDF(path) ||
isFileImage(path)
isFileFromDataloomPlugin(path)
)
}