mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 18:56:00 +00:00
fixed qorking with tabs
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user