From f2574fdf3405da6c8fd2fdb8d1211886b6fc5720 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 12 Feb 2026 17:20:30 +0100 Subject: [PATCH] fix(files): fallback to action id if displayname is empty This fixes invalid error messages if the action has an empty displayname, often the case for inline actions Signed-off-by: Ferdinand Thiessen --- apps/files/src/utils/actionUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/src/utils/actionUtils.ts b/apps/files/src/utils/actionUtils.ts index 5a752d62587..e72cdbc3ba1 100644 --- a/apps/files/src/utils/actionUtils.ts +++ b/apps/files/src/utils/actionUtils.ts @@ -48,7 +48,7 @@ export async function executeAction(action: IFileAction) { let displayName = action.id try { - displayName = action.displayName(context) + displayName = action.displayName(context) || displayName } catch (error) { logger.error('Error while getting action display name', { action, error }) }