fixed qorking with tabs

This commit is contained in:
Jan Prochazka
2021-01-30 09:41:50 +01:00
parent 8d6d1d979e
commit 31dd80b79a
2 changed files with 3 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ export async function openDatabaseObjectDetail(
openNewTab(
{
title: 'Query #',
title: sqlTemplate ? 'Query #' : pureName,
tooltip,
icon: sqlTemplate ? 'img sql-file' : icons[objectTypeField],
tabComponent: sqlTemplate ? 'QueryTab' : tabComponent,
@@ -245,7 +245,7 @@ function Menu({ data }) {
} else if (menu.isQueryDesigner) {
openNewTab(
{
title: data.pureName,
title: 'Query #',
icon: 'img query-design',
tabComponent: 'QueryDesignTab',
props: {

View File

@@ -312,7 +312,7 @@ export default function DataGridCore(props) {
}
}
: null,
[formViewAvailable, display]
[formViewAvailable, display, openNewTab]
);
if (!columns || columns.length == 0) return <LoadingInfo wrapper message="Waiting for structure" />;