fix(redis): keep key browser filters across tab switches

This commit is contained in:
一颗红心 authored and GitHub committed 2026-09-10 11:23:57 +08:00
1 parent b2d2507aec
commit dc1b651949
5 files changed
+486 -5

No files matched your search

@@ -2346,7 +2346,7 @@ defineExpose({
<!-- Redis mode: key browser -->
<template v-else-if="activeTab.mode === 'redis'">
<div class="flex-1 min-h-0">
<RedisKeyBrowser ref="redisKeyBrowserRef" :key="`${activeTab.id}:${activeTab.connectionId}:${activeTab.database}`" :connection-id="activeTab.connectionId" :db="Number(activeTab.database)" :block-dangerous-redis-commands="props.blockDangerousRedisCommands" />
<RedisKeyBrowser ref="redisKeyBrowserRef" :key="`${activeTab.id}:${activeTab.connectionId}:${activeTab.database}`" :connection-id="activeTab.connectionId" :db="Number(activeTab.database)" :block-dangerous-redis-commands="props.blockDangerousRedisCommands" :state-key="activeTab.id" />
</div>
</template>