From 52e2c5b5a940bea120707128db1cdebbee77586b Mon Sep 17 00:00:00 2001 From: dsyzov Date: Thu, 10 Sep 2026 21:57:02 +0000 Subject: [PATCH] fix(files): add missing logger import in openLocallyAction The backport of PR #59658 introduced a logger.debug() call without importing the logger module, causing a ReferenceError on dialog close. Add the missing import from ../logger.ts. Signed-off-by: dsyzov Assisted-by: ClaudeCode:claude-sonnet-4-6 --- apps/files/src/actions/openLocallyAction.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files/src/actions/openLocallyAction.ts b/apps/files/src/actions/openLocallyAction.ts index cf948da889f4b..b7f2494e57612 100644 --- a/apps/files/src/actions/openLocallyAction.ts +++ b/apps/files/src/actions/openLocallyAction.ts @@ -13,6 +13,7 @@ import LaptopSvg from '@mdi/svg/svg/laptop.svg?raw' import IconWeb from '@mdi/svg/svg/web.svg?raw' import { isPublicShare } from '@nextcloud/sharing/public' import { isSyncable } from '../utils/permissions.ts' +import logger from '../logger.ts' export const action = new FileAction({ id: 'edit-locally',