quick export from web

This commit is contained in:
Jan Prochazka
2022-03-10 10:15:05 +01:00
parent 008a09cc81
commit 8c3708fc8c
9 changed files with 46 additions and 43 deletions

View File

@@ -169,7 +169,7 @@
{ text: 'Delete', onClick: handleDelete },
{ text: 'Rename', onClick: handleRename },
data.fileType == 'jsonl' &&
createQuickExportMenu($extensions, fmt => async () => {
createQuickExportMenu(fmt => async () => {
exportElectronFile(
data.fileName,
{

View File

@@ -412,7 +412,7 @@
if (menu.divider) return menu;
if (menu.isQuickExport) {
return createQuickExportMenu(getExtensions(), fmt => async () => {
return createQuickExportMenu(fmt => async () => {
const coninfo = await getConnectionInfo(data);
exportElectronFile(
data.pureName,