Update key type display in DbKeyDetailTab to use label if available

This commit is contained in:
Stela Augustinova
2025-12-10 10:34:19 +01:00
parent 623a23492f
commit 4a0af08ae5

View File

@@ -128,7 +128,7 @@
<div class="top-panel">
<div class="type">
<FontIcon icon={getIconForRedisType(keyInfo.type)} padRight />
{keyInfo.type}
{keyInfo.keyType?.label || keyInfo.type}
</div>
<div class="key-name">
<TextField value={key} readOnly />