From 5434aa71079f4b5bb3e8fea8e069a5070a96dbf7 Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Thu, 23 Jul 2026 14:41:51 +0200 Subject: [PATCH] fix(files): hide download action in link shares for newly created folders Creating a new folder from within an editable public link share with the hide-download option set would wrongfully show the "Download" action for a newly created folder. This action remained visible until the page was reloaded. This only affected the "New Folder" action, folders uploaded directly do not show this action at all in this case. Signed-off-by: Jyrki Gadinger --- apps/files/src/newMenu/newFolder.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files/src/newMenu/newFolder.ts b/apps/files/src/newMenu/newFolder.ts index d98c6ac1755f7..7986a5447b332 100644 --- a/apps/files/src/newMenu/newFolder.ts +++ b/apps/files/src/newMenu/newFolder.ts @@ -49,6 +49,7 @@ export const entry: NewMenuEntry = { 'mount-type': context.attributes?.['mount-type'], 'owner-id': context.attributes?.['owner-id'], 'owner-display-name': context.attributes?.['owner-display-name'], + 'hide-download': context.attributes?.['hide-download'], }, })