mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 09:05:59 +00:00
saving diagrams
This commit is contained in:
@@ -55,6 +55,14 @@
|
||||
currentConnection: true,
|
||||
};
|
||||
|
||||
const diagrams: FileTypeHandler = {
|
||||
icon: 'img diagram',
|
||||
format: 'json',
|
||||
tabComponent: 'DiagramTab',
|
||||
folder: 'diagrams',
|
||||
currentConnection: true,
|
||||
};
|
||||
|
||||
const HANDLERS = {
|
||||
sql,
|
||||
shell,
|
||||
@@ -62,6 +70,7 @@
|
||||
charts,
|
||||
query,
|
||||
sqlite,
|
||||
diagrams,
|
||||
};
|
||||
|
||||
export const extractKey = data => data.file;
|
||||
@@ -74,7 +83,7 @@
|
||||
import { showModal } from '../modals/modalTools';
|
||||
|
||||
import { currentDatabase } from '../stores';
|
||||
import { apiCall } from '../utility/api';
|
||||
import { apiCall } from '../utility/api';
|
||||
|
||||
import getConnectionLabel from '../utility/getConnectionLabel';
|
||||
import hasPermission from '../utility/hasPermission';
|
||||
|
||||
Reference in New Issue
Block a user