mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 19:36:00 +00:00
redis key selection by keyboard
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
export const allowAddToFavorites = props => false;
|
||||
|
||||
function getKeyText(key) {
|
||||
if (!key) return '(no name)';
|
||||
const keySplit = key.split(':');
|
||||
if (keySplit.length > 1) return keySplit[keySplit.length - 1];
|
||||
return key || '(no name)';
|
||||
|
||||
Reference in New Issue
Block a user