1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +00:00

fix code bug when enableOnlyOffice (#6407)

This commit is contained in:
Michael An
2024-07-24 00:33:12 +08:00
committed by GitHub
parent be84e505d0
commit 51d617c9cc

View File

@@ -655,7 +655,7 @@ export const Utils = {
}
if (permission == 'rw' && enableOnlyoffice &&
onlyofficeConverterExtensions.includes(this.getFileExtension(dirent.name, false))) {
onlyofficeConverterExtensions.includes(Utils.getFileExtension(dirent.name, false))) {
list.push(ONLYOFFICE_CONVERT);
}