mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 23:53:57 +00:00
fix
This commit is contained in:
@@ -8,7 +8,14 @@
|
|||||||
import AppObjectList from '../appobj/AppObjectList.svelte';
|
import AppObjectList from '../appobj/AppObjectList.svelte';
|
||||||
import * as connectionAppObject from '../appobj/ConnectionAppObject.svelte';
|
import * as connectionAppObject from '../appobj/ConnectionAppObject.svelte';
|
||||||
import SubDatabaseList from '../appobj/SubDatabaseList.svelte';
|
import SubDatabaseList from '../appobj/SubDatabaseList.svelte';
|
||||||
import { commands, commandsCustomized, expandedConnections, openedConnections, openedTabs } from '../stores';
|
import {
|
||||||
|
commands,
|
||||||
|
commandsCustomized,
|
||||||
|
expandedConnections,
|
||||||
|
openedConnections,
|
||||||
|
openedSingleDatabaseConnections,
|
||||||
|
openedTabs,
|
||||||
|
} from '../stores';
|
||||||
import ToolbarButton from '../buttons/ToolbarButton.svelte';
|
import ToolbarButton from '../buttons/ToolbarButton.svelte';
|
||||||
import runCommand from '../commands/runCommand';
|
import runCommand from '../commands/runCommand';
|
||||||
import getConnectionLabel from '../utility/getConnectionLabel';
|
import getConnectionLabel from '../utility/getConnectionLabel';
|
||||||
@@ -30,7 +37,7 @@
|
|||||||
: $connections;
|
: $connections;
|
||||||
|
|
||||||
$: connectionsWithStatusFiltered = connectionsWithStatus?.filter(
|
$: connectionsWithStatusFiltered = connectionsWithStatus?.filter(
|
||||||
x => !x.unsaved || $openedConnections.includes(x._id)
|
x => !x.unsaved || $openedConnections.includes(x._id) || $openedSingleDatabaseConnections.includes(x._id)
|
||||||
);
|
);
|
||||||
|
|
||||||
const handleRefreshConnections = () => {
|
const handleRefreshConnections = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user