Update getWorkspaceMenuTemplate.ts

This commit is contained in:
lin onetwo 2024-01-08 01:02:28 +08:00
parent cdfc276a73
commit 7ef8e657bd

View file

@ -140,7 +140,7 @@ export async function getWorkspaceMenuTemplate(
template.push({
label: t('ContextMenu.BackupNow'),
click: async () => {
await service.git.commitAndSync(workspace, { commitOnly: true });
await service.git.commitAndSync(workspace, { commitOnly: true, dir: wikiFolderLocation });
},
});
}