mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 21:56:00 +00:00
Added keyboard shortcuts to settings tab
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
import LicenseSettings from "../settings/LicenseSettings.svelte";
|
import LicenseSettings from "../settings/LicenseSettings.svelte";
|
||||||
import { isProApp } from "../utility/proTools";
|
import { isProApp } from "../utility/proTools";
|
||||||
import { _t } from "../translations";
|
import { _t } from "../translations";
|
||||||
|
import CommandListTab from "./CommandListTab.svelte";
|
||||||
|
|
||||||
const menuItems = [
|
const menuItems = [
|
||||||
{
|
{
|
||||||
@@ -56,6 +57,13 @@
|
|||||||
props: {},
|
props: {},
|
||||||
testid: 'settings-external-tools',
|
testid: 'settings-external-tools',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: _t('command.settings.shortcuts', { defaultMessage: 'Keyboard shortcuts' }),
|
||||||
|
identifier: 'shortcuts',
|
||||||
|
component: CommandListTab,
|
||||||
|
props: {},
|
||||||
|
testid: 'settings-shortcuts',
|
||||||
|
},
|
||||||
isProApp() && {
|
isProApp() && {
|
||||||
label: _t('settings.license', { defaultMessage: 'License' }),
|
label: _t('settings.license', { defaultMessage: 'License' }),
|
||||||
identifier: 'license',
|
identifier: 'license',
|
||||||
|
|||||||
Reference in New Issue
Block a user