[17.0][FIX] web_responsive: disable default file preview

This commit is contained in:
Taras Shabaranskyi
2024-04-14 21:05:31 +03:00
parent bc43787c65
commit c5f7b0a7ce
5 changed files with 23 additions and 12 deletions

View File

@@ -37,11 +37,7 @@ export function useFileViewerContainerSize(ref) {
});
}
/**
* Patch attachment viewer to add min/max buttons capability
* @property {Function} resizeUpdateActualFormChatterWidth
*/
patch(FileViewer.prototype, {
export const unpatchFileViewer = patch(FileViewer.prototype, {
setup() {
super.setup();
this.root = useRef("root");