feat(sql-editor): reuse active connection for opened files
Closes #9263
This commit is contained in:
1 parent
0fd1d6108f
commit
5d13c5ecfc
12 files changed
+332
-40
No files matched your search
@@ -46,6 +46,8 @@ it("hands prepared Web previews to the dialog, clears them on close, and preserv
|
||||
expect(mocks.store.sqlFileSource).toBeNull();
|
||||
dialogs.showSqlFileDialog.value = false;
|
||||
await nextTick();
|
||||
expect(dialogs.sqlFilePrefillConnectionId.value).toBe("");
|
||||
expect(dialogs.sqlFilePrefillDatabase.value).toBe("");
|
||||
expect(dialogs.sqlFilePrefillPreview.value).toBeUndefined();
|
||||
mocks.store.sqlFileSource = { connectionId: "mysql", database: "app", filePath: "/local/backup.sql" };
|
||||
await nextTick();
|
||||
|
||||
Reference in new issue
Block a user