Revert "Button for svg export"

This reverts commit 352b6cbe04.
This commit is contained in:
Stela Augustinova
2025-12-01 16:22:35 +01:00
parent 4ab694de0c
commit 85a2a4b873

View File

@@ -33,8 +33,7 @@
import DiagramSettings from '../designer/DiagramSettings.svelte';
import { derived } from 'svelte/store';
import { isProApp } from '../utility/proTools';
import { __t, _t } from '../translations';
import ToolStripDropDownButton from '../buttons/ToolStripDropDownButton.svelte';
import { __t } from '../translations';
export let tabid;
export let conid;
@@ -126,13 +125,6 @@
function handleReportCounts(counts) {
tableCounts = counts;
}
function getDiagramExportMenu() {
return [
{ command: 'diagram.export' },
{ command: 'diagram.exportSvg' },
];
}
</script>
<ToolStripContainer>
@@ -170,7 +162,6 @@
<ToolStripCommandButton command="designer.arrange" />
<ToolStripSaveButton idPrefix="diagram" />
<ToolStripCommandButton command="diagram.export" />
<ToolStripDropDownButton menu={getDiagramExportMenu} label={_t('command.designer.exportDiagram', { defaultMessage: 'Export diagram' })} icon="icon report" />
<ToolStripCommandButton command="diagram.undo" />
<ToolStripCommandButton command="diagram.redo" />
<ToolStripCommandButton command="diagram.deleteSelectedTables" />