diff --git a/apps/desktop/src/components/objects/ObjectBrowser.vue b/apps/desktop/src/components/objects/ObjectBrowser.vue index ef8fbc6ba1..17dab464e4 100644 --- a/apps/desktop/src/components/objects/ObjectBrowser.vue +++ b/apps/desktop/src/components/objects/ObjectBrowser.vue @@ -17,7 +17,7 @@ import { Eraser, Eye, FileCode, - FileUp, + Upload, Loader2, Network, Pencil, @@ -1197,7 +1197,7 @@ watch( function exportDataSubmenu(item: ObjectBrowserRow): ContextMenuItem { return { label: t("contextMenu.exportData"), - icon: Download, + icon: Upload, children: [ { label: "CSV", action: () => exportData(item, "csv") }, { label: "JSON", action: () => exportData(item, "json") }, @@ -1219,12 +1219,12 @@ function getTableMenuItems(item: ObjectBrowserRow): ContextMenuItem[] { { label: t("contextMenu.newQuery"), action: () => openNewQuery(item), icon: TerminalSquare }, ...(canOpenDiagram.value ? [{ label: t("diagram.open"), action: () => openDiagram(item), icon: Network }] : []), ...(canOpenTableImport.value - ? [{ label: t("contextMenu.importData"), action: () => openTableImport(item), icon: FileUp }] + ? [{ label: t("contextMenu.importData"), action: () => openTableImport(item), icon: Download }] : []), { label: t("dataCompare.title"), action: () => openDataCompare(item), icon: ArrowRightLeft }, { label: "", separator: true }, exportDataSubmenu(item), - { label: t("contextMenu.exportDatabase"), action: () => openDatabaseExport(item), icon: Download }, + { label: t("contextMenu.exportDatabase"), action: () => openDatabaseExport(item), icon: Upload }, { label: t("contextMenu.exportStructure"), action: () => exportStructure(item), icon: FileCode }, { label: "", separator: true }, { label: t("contextMenu.duplicateStructure"), action: () => requestDuplicateStructure(item), icon: CopyPlus }, @@ -1269,7 +1269,7 @@ function getViewMenuItems(item: ObjectBrowserRow): ContextMenuItem[] { ...(canOpenDiagram.value ? [{ label: t("diagram.open"), action: () => openDiagram(item), icon: Network }] : []), { label: "", separator: true }, exportDataSubmenu(item), - { label: t("contextMenu.exportDatabase"), action: () => openDatabaseExport(item), icon: Download }, + { label: t("contextMenu.exportDatabase"), action: () => openDatabaseExport(item), icon: Upload }, { label: t("contextMenu.exportStructure"), action: () => exportStructure(item), icon: FileCode }, { label: "", separator: true }, { diff --git a/apps/desktop/src/components/sidebar/TreeItem.vue b/apps/desktop/src/components/sidebar/TreeItem.vue index 704f394488..68b6a4a4cf 100644 --- a/apps/desktop/src/components/sidebar/TreeItem.vue +++ b/apps/desktop/src/components/sidebar/TreeItem.vue @@ -29,9 +29,9 @@ import { Pin, ArrowRightLeft, Download, + Upload, FileCode, Network, - FileUp, PencilRuler, Search, FolderInput, @@ -2785,7 +2785,7 @@ const shortcutDelete = "Delete"; function exportDataSubmenu(): ContextMenuItem { return { label: t("contextMenu.exportData"), - icon: Download, + icon: Upload, children: [ { label: "CSV", action: () => exportData("csv") }, { label: "JSON", action: () => exportData("json") }, @@ -2944,7 +2944,7 @@ function treeItemMenuItems(): ContextMenuItem[] { items.push({ label: t("transfer.dataTransfer"), action: openTransfer, icon: ArrowRightLeft }); items.push({ label: t("diff.title"), action: openSchemaDiff, icon: ArrowRightLeft }); items.push({ label: t("dataCompare.title"), action: openDataCompare, icon: ArrowRightLeft }); - items.push({ label: t("contextMenu.exportDatabase"), action: openDatabaseExport, icon: Download }); + items.push({ label: t("contextMenu.exportDatabase"), action: openDatabaseExport, icon: Upload }); if (canCloseDatabaseConnection.value) { items.push({ label: "", separator: true }); items.push({ label: t("contextMenu.closeDatabaseConnection"), action: closeDatabaseConnection, icon: Unplug }); @@ -3023,14 +3023,14 @@ function treeItemMenuItems(): ContextMenuItem[] { items.push({ label: t("diagram.open"), action: openDiagram, icon: Network }); } if (canOpenTableImport.value) { - items.push({ label: t("contextMenu.importData"), action: openTableImport, icon: FileUp }); + items.push({ label: t("contextMenu.importData"), action: openTableImport, icon: Download }); } if (isTableNotView.value) { items.push({ label: t("dataCompare.title"), action: openDataCompare, icon: ArrowRightLeft }); } items.push({ label: "", separator: true }); items.push(exportDataSubmenu()); - items.push({ label: t("contextMenu.exportDatabase"), action: openDatabaseExport, icon: Download }); + items.push({ label: t("contextMenu.exportDatabase"), action: openDatabaseExport, icon: Upload }); items.push({ label: t("contextMenu.exportStructure"), action: exportStructure, icon: FileCode }); items.push(copyStructureAsSubmenu()); if (isTableNotView.value) {