mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
@@ -33,8 +33,7 @@
|
|||||||
import DiagramSettings from '../designer/DiagramSettings.svelte';
|
import DiagramSettings from '../designer/DiagramSettings.svelte';
|
||||||
import { derived } from 'svelte/store';
|
import { derived } from 'svelte/store';
|
||||||
import { isProApp } from '../utility/proTools';
|
import { isProApp } from '../utility/proTools';
|
||||||
import { __t, _t } from '../translations';
|
import { __t } from '../translations';
|
||||||
import ToolStripDropDownButton from '../buttons/ToolStripDropDownButton.svelte';
|
|
||||||
|
|
||||||
export let tabid;
|
export let tabid;
|
||||||
export let conid;
|
export let conid;
|
||||||
@@ -126,13 +125,6 @@
|
|||||||
function handleReportCounts(counts) {
|
function handleReportCounts(counts) {
|
||||||
tableCounts = counts;
|
tableCounts = counts;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDiagramExportMenu() {
|
|
||||||
return [
|
|
||||||
{ command: 'diagram.export' },
|
|
||||||
{ command: 'diagram.exportSvg' },
|
|
||||||
];
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ToolStripContainer>
|
<ToolStripContainer>
|
||||||
@@ -170,7 +162,6 @@
|
|||||||
<ToolStripCommandButton command="designer.arrange" />
|
<ToolStripCommandButton command="designer.arrange" />
|
||||||
<ToolStripSaveButton idPrefix="diagram" />
|
<ToolStripSaveButton idPrefix="diagram" />
|
||||||
<ToolStripCommandButton command="diagram.export" />
|
<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.undo" />
|
||||||
<ToolStripCommandButton command="diagram.redo" />
|
<ToolStripCommandButton command="diagram.redo" />
|
||||||
<ToolStripCommandButton command="diagram.deleteSelectedTables" />
|
<ToolStripCommandButton command="diagram.deleteSelectedTables" />
|
||||||
|
|||||||
Reference in New Issue
Block a user