✨ recent project
This commit is contained in:
@@ -88,6 +88,8 @@ export default function App(): JSX.Element {
|
||||
} else if (action === 'openProject') {
|
||||
const picked = await window.api.pickProjectFolder()
|
||||
if (picked) await switchProject(picked)
|
||||
} else if (action.startsWith('openRecent:')) {
|
||||
await switchProject(action.slice('openRecent:'.length))
|
||||
} else if (action === 'exportPDF') {
|
||||
if (activeFilePath && activeFileContent) {
|
||||
const fileName = activeFilePath.split('/').pop()?.replace(/\.md$/, '') ?? 'document'
|
||||
|
||||
Reference in New Issue
Block a user