mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 13:36:02 +00:00
fixed notifying volatile connections (used for askUser password scenarios)
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
import ErrorMessageModal from './ErrorMessageModal.svelte';
|
||||
import ModalBase from './ModalBase.svelte';
|
||||
import { closeCurrentModal, showModal } from './modalTools';
|
||||
import { callServerPing } from '../utility/connectionsPinger';
|
||||
|
||||
export let conid;
|
||||
export let passwordMode;
|
||||
@@ -83,6 +84,7 @@
|
||||
isTesting = false;
|
||||
if (resp.msgtype == 'connected') {
|
||||
setVolatileConnectionRemapping(conid, resp._id);
|
||||
await callServerPing();
|
||||
dispatchCacheChange({ key: `server-status-changed` });
|
||||
batchDispatchCacheTriggers(x => x.conid == conid);
|
||||
closeCurrentModal();
|
||||
|
||||
Reference in New Issue
Block a user