mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 08:56:00 +00:00
activator used whereever possible
This commit is contained in:
@@ -12,7 +12,7 @@ import registerCommand from '../commands/registerCommand';
|
||||
|
||||
export default function saveTabFile(editor, saveAs, folder, format, fileExtension) {
|
||||
const tabs = get(openedTabs);
|
||||
const tabid = editor.getTabId();
|
||||
const tabid = editor.activator.tabid;
|
||||
const data = editor.getData();
|
||||
const { savedFile, savedFilePath } = tabs.find(x => x.tabid == tabid).props || {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user