mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 01:16:01 +00:00
mongo perspective fixes
This commit is contained in:
@@ -479,7 +479,7 @@
|
||||
const rect = e.target.getBoundingClientRect();
|
||||
var json = JSON.parse(data);
|
||||
const { objectTypeField } = json;
|
||||
if (objectTypeField != 'tables' && objectTypeField != 'views') return;
|
||||
if (objectTypeField != 'tables' && objectTypeField != 'views' && objectTypeField != 'collections') return;
|
||||
json.designerId = `${json.pureName}-${uuidv1()}`;
|
||||
json.left = e.clientX - rect.left;
|
||||
json.top = e.clientY - rect.top;
|
||||
@@ -941,6 +941,7 @@
|
||||
.empty {
|
||||
margin: 50px;
|
||||
font-size: 20px;
|
||||
position: absolute;
|
||||
}
|
||||
.canvas {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user