mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 13:36:02 +00:00
perspective filters supports lookup
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
import createActivator, { getActiveComponent } from '../utility/createActivator';
|
||||
import ToolStripContainer from '../buttons/ToolStripContainer.svelte';
|
||||
import ToolStripCommandButton from '../buttons/ToolStripCommandButton.svelte';
|
||||
import { findEngineDriver } from 'dbgate-tools';
|
||||
import { useConnectionInfo } from '../utility/metadataLoaders';
|
||||
import { extensions } from '../stores';
|
||||
|
||||
export let tabid;
|
||||
export let conid;
|
||||
@@ -35,6 +38,9 @@
|
||||
|
||||
export const activator = createActivator('PerspectiveTab', true);
|
||||
|
||||
$: connection = useConnectionInfo({ conid });
|
||||
$: driver = findEngineDriver($connection, $extensions);
|
||||
|
||||
const config = usePerspectiveConfig(tabid);
|
||||
const cache = new PerspectiveCache();
|
||||
const loadedCounts = writable({});
|
||||
@@ -51,6 +57,7 @@
|
||||
{database}
|
||||
{schemaName}
|
||||
{pureName}
|
||||
{driver}
|
||||
config={$config}
|
||||
setConfig={(value, reload) => {
|
||||
if (reload) {
|
||||
|
||||
Reference in New Issue
Block a user