mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 09:36:01 +00:00
clickAction refactor, settings - open detail after keyboard navigation
This commit is contained in:
@@ -36,3 +36,10 @@ export function getConnectionClickActionSetting(): 'connect' | 'openDetails' | '
|
||||
export function getDatabaseClickActionSetting(): 'switch' | 'none' {
|
||||
return getStringSettingsValue('defaultAction.databaseClick', 'switch');
|
||||
}
|
||||
|
||||
export function getOpenDetailOnArrowsSettings(): boolean {
|
||||
return (
|
||||
getBoolSettingsValue('behaviour.useTabPreviewMode', true) &&
|
||||
getBoolSettingsValue('behaviour.openDetailOnArrows', true)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user