fix: remove delimiter completion during key match #147
This commit is contained in:
parent
ce1b9b706f
commit
a8109c4bb2
|
@ -601,9 +601,8 @@ const useBrowserStore = defineStore('browser', {
|
|||
if (isEmpty(match)) {
|
||||
match = '*'
|
||||
} else if (!isRedisGlob(match)) {
|
||||
const separator = this.getSeparator(server)
|
||||
if (!endsWith(prefix, separator + '*')) {
|
||||
match = prefix + separator + '*'
|
||||
if (!endsWith(prefix, '*')) {
|
||||
match = prefix + '*'
|
||||
}
|
||||
}
|
||||
return this.scanKeys({ server, db, match, matchType, loadType: all ? 1 : 0 })
|
||||
|
|
Loading…
Reference in New Issue