From abb0ba67841842415cde4df96e3766b1a56099e8 Mon Sep 17 00:00:00 2001 From: AlexisG Date: Tue, 19 Nov 2024 16:29:55 +0100 Subject: [PATCH] fix: Hide back icon in public viewer In the Public view, no return is possible, as there is none. --- src/modules/public/LightFileViewer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/public/LightFileViewer.jsx b/src/modules/public/LightFileViewer.jsx index 104b6156bc..5a4af961ba 100644 --- a/src/modules/public/LightFileViewer.jsx +++ b/src/modules/public/LightFileViewer.jsx @@ -64,7 +64,7 @@ const LightFileViewer = ({ files, isPublic }) => { isEnabled: isOfficeEnabled(isDesktop), opener: onlyOfficeOpener }, - toolbarProps: { showToolbar: isDesktop } + toolbarProps: { showToolbar: isDesktop, showClose: false } }} >