getConnectionLabel refactor

This commit is contained in:
Jan Prochazka
2024-08-02 11:49:45 +02:00
parent cf39fd59f9
commit 7fcebedcdd
21 changed files with 30 additions and 24 deletions

View File

@@ -18,7 +18,7 @@
collapsedConnectionGroupNames,
} from '../stores';
import runCommand from '../commands/runCommand';
import getConnectionLabel from '../utility/getConnectionLabel';
import { getConnectionLabel } from 'dbgate-tools';
import { useConnectionColorFactory } from '../utility/useConnectionColor';
import FontIcon from '../icons/FontIcon.svelte';
import CloseSearchButton from '../buttons/CloseSearchButton.svelte';

View File

@@ -14,7 +14,7 @@
selectedWidget,
visibleCommandPalette,
} from '../stores';
import getConnectionLabel from '../utility/getConnectionLabel';
import { getConnectionLabel } from 'dbgate-tools';
import { useConnectionList, useDatabaseServerVersion, useDatabaseStatus } from '../utility/metadataLoaders';
import { findCommand } from '../commands/runCommand';
import { useConnectionColor } from '../utility/useConnectionColor';