diff --git a/src/public/app/widgets/buttons/attachments_actions.ts b/src/public/app/widgets/buttons/attachments_actions.ts index f25e9c376..edb37b72d 100644 --- a/src/public/app/widgets/buttons/attachments_actions.ts +++ b/src/public/app/widgets/buttons/attachments_actions.ts @@ -151,6 +151,8 @@ export default class AttachmentActionsWidget extends BasicWidget { async copyAttachmentLinkToClipboardCommand() { //TriliumNextTODO: the parent here is AttachmentDetailWidget + //how can we pass that to the generic TypedComponent? + //@ts-ignore - TypedComponent this.parent?.copyAttachmentLinkToClipboard(); }