Skip to content

Commit 8702c2f

Browse files
dnplkndllclaude
andcommitted
fix(attachment_preview): apply prettier 3.3.3 formatting to utils.esm.js
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5187e79 commit 8702c2f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

attachment_preview/static/src/js/utils.esm.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ const OFFICE_EXTENSIONS = ["docx", "xlsx", "pptx", "doc", "xls", "ppt", "odg"];
2020

2121
export function canPreview(extension) {
2222
return (
23-
VIEWERJS_EXTENSIONS.includes(extension) ||
24-
OFFICE_EXTENSIONS.includes(extension)
23+
VIEWERJS_EXTENSIONS.includes(extension) || OFFICE_EXTENSIONS.includes(extension)
2524
);
2625
}
2726

0 commit comments

Comments
 (0)