File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
redisinsight/ui/src/components/command-helper Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,14 @@ const CommandHelperWrapper = () => {
34
34
} = useSelector ( cliSettingsSelector )
35
35
const { spec : ALL_REDIS_COMMANDS , commandsArray } = useSelector ( appRedisCommandsSelector )
36
36
const { instanceId = '' } = useParams < { instanceId : string } > ( )
37
- const lastMatchedCommand = ( isEnteringCommand && matchedCommand && ! checkDeprecatedModuleCommand ( matchedCommand ) )
37
+ const lastMatchedCommand = (
38
+ isEnteringCommand
39
+ && matchedCommand
40
+ && ! checkDeprecatedModuleCommand ( matchedCommand . toUpperCase ( ) )
41
+ )
38
42
? matchedCommand
39
43
: searchedCommand
44
+
40
45
const KEYS_OF_COMMANDS = useMemo ( ( ) => removeDeprecatedModuleCommands ( commandsArray ) , [ commandsArray ] )
41
46
let searchedCommands : string [ ] = [ ]
42
47
You can’t perform that action at this time.
0 commit comments