mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 19:03:58 +00:00
formatKeyText called in CommandPalette
This commit is contained in:
@@ -81,6 +81,7 @@
|
|||||||
import { useConnectionList, useDatabaseInfo } from '../utility/metadataLoaders';
|
import { useConnectionList, useDatabaseInfo } from '../utility/metadataLoaders';
|
||||||
import { getLocalStorage } from '../utility/storageCache';
|
import { getLocalStorage } from '../utility/storageCache';
|
||||||
import registerCommand from './registerCommand';
|
import registerCommand from './registerCommand';
|
||||||
|
import { formatKeyText } from '../utility/common';
|
||||||
|
|
||||||
let domInput;
|
let domInput;
|
||||||
let filter = '';
|
let filter = '';
|
||||||
@@ -211,7 +212,7 @@
|
|||||||
{@html command.text}
|
{@html command.text}
|
||||||
</div>
|
</div>
|
||||||
{#if command.keyText}
|
{#if command.keyText}
|
||||||
<div class="shortcut">{command.keyText}</div>
|
<div class="shortcut">{formatKeyText(command.keyText)}</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
Reference in New Issue
Block a user