connection workflow

This commit is contained in:
Jan Prochazka
2022-05-19 12:36:15 +02:00
parent 566082d40f
commit 8e5584e90f
5 changed files with 11 additions and 19 deletions

View File

@@ -24,7 +24,6 @@
import { changeTab } from '../utility/common';
import getConnectionLabel from '../utility/getConnectionLabel';
import { onMount } from 'svelte';
import { closeTabWithNoHistory } from '../utility/openNewTab';
import { openConnection } from '../appobj/ConnectionAppObject.svelte';
export let connection;
@@ -133,7 +132,6 @@
unsaved: true,
};
const saved = await apiCall('connections/save', connection);
closeTabWithNoHistory(tabid);
openConnection(saved);
}