mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[17.0][FIX] web_responsive: disable default file preview
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user