mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 14:46:01 +00:00
open existing tab, when possible
This commit is contained in:
@@ -4,3 +4,5 @@ import JslDataGrid from '../sqleditor/JslDataGrid';
|
||||
export default function ArchiveFileTab({ archiveFolder, archiveFile, tabVisible, toolbarPortalRef, tabid }) {
|
||||
return <JslDataGrid jslid={`archive://${archiveFolder}/${archiveFile}`} />;
|
||||
}
|
||||
|
||||
ArchiveFileTab.matchingProps = ['archiveFile', 'archiveFolder'];
|
||||
|
||||
@@ -26,3 +26,5 @@ export default function TableDataTab({ conid, database, schemaName, pureName, ta
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
TableDataTab.matchingProps = ['conid', 'database', 'schemaName', 'pureName'];
|
||||
|
||||
@@ -54,3 +54,5 @@ export default function ViewDataTab({ conid, database, schemaName, pureName, tab
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
ViewDataTab.matchingProps = ['conid', 'database', 'schemaName', 'pureName'];
|
||||
Reference in New Issue
Block a user