This commit is contained in:
Jan Prochazka
2022-06-09 09:37:26 +02:00
parent 148222e239
commit 6e9dace360

View File

@@ -8,7 +8,14 @@
import AppObjectList from '../appobj/AppObjectList.svelte';
import * as connectionAppObject from '../appobj/ConnectionAppObject.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 runCommand from '../commands/runCommand';
import getConnectionLabel from '../utility/getConnectionLabel';
@@ -30,7 +37,7 @@
: $connections;
$: connectionsWithStatusFiltered = connectionsWithStatus?.filter(
x => !x.unsaved || $openedConnections.includes(x._id)
x => !x.unsaved || $openedConnections.includes(x._id) || $openedSingleDatabaseConnections.includes(x._id)
);
const handleRefreshConnections = () => {