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

@@ -1,5 +1,5 @@
<script lang="ts" context="module">
import { filterName } from 'dbgate-tools';
import { filterName, getConnectionLabel } from 'dbgate-tools';
interface FileTypeHandler {
icon: string;
@@ -100,7 +100,6 @@
import { currentDatabase } from '../stores';
import { apiCall } from '../utility/api';
import getConnectionLabel from '../utility/getConnectionLabel';
import hasPermission from '../utility/hasPermission';
import openNewTab from '../utility/openNewTab';