feat(v028): IPC inbox:open-media + path traversal + NoteCard cast 정리

This commit is contained in:
altair823
2026-05-09 14:10:57 +09:00
parent f6bea623bf
commit 9cdea1531c
6 changed files with 86 additions and 3 deletions

View File

@@ -339,7 +339,7 @@ export function NoteCard({ note, onDeleted, onUpdated, mode = 'inbox', onRestore
src={`inkling-media://${m.relPath}`}
alt=""
title={m.relPath}
onClick={() => { void (inboxApi as unknown as { openMedia: (rel: string) => Promise<unknown> }).openMedia(m.relPath); }}
onClick={() => { void inboxApi.openMedia(m.relPath); }}
style={{
width: 48,
height: 48,