focus query editor

This commit is contained in:
SPRINX0\prochazka
2025-01-07 09:32:01 +01:00
parent d9ca29b602
commit 8d2c2cd62d
8 changed files with 11 additions and 2 deletions

View File

@@ -284,6 +284,7 @@
icon: 'img sql-file',
tooltip,
tabComponent: 'QueryTab',
focused: true,
props: {
conid: data._id,
},
@@ -320,7 +321,7 @@
],
{ divider: true },
!data.singleDatabase && [
hasPermission(`dbops/query`) && { onClick: handleNewQuery, text: 'New query', isNewQuery: true },
hasPermission(`dbops/query`) && { onClick: handleNewQuery, text: 'New Query (server)', isNewQuery: true },
$openedConnections.includes(data._id) &&
data.status && {
text: 'Refresh',