email-db tool: extract-attachment action, streaming, filename decoding, copy path fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -384,12 +384,12 @@ export const useFileBrowserApp = (basePath: string, rootOverride?: string, initi
|
||||
};
|
||||
|
||||
const handleCopyPath = (entry: DirEntry) => {
|
||||
navigator.clipboard.writeText(absPath(entryPath(entry.name)));
|
||||
navigator.clipboard.writeText(`~${entryPath(entry.name)}`);
|
||||
toast.success('Path copied');
|
||||
};
|
||||
|
||||
const handleCopyCurrentPath = () => {
|
||||
navigator.clipboard.writeText(absPath(currentPath));
|
||||
navigator.clipboard.writeText(`~${currentPath}`);
|
||||
toast.success('Path copied');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user