redis key sizes

This commit is contained in:
Jan Prochazka
2022-03-05 21:38:36 +01:00
parent 750e929d1e
commit 74ad345ba5
2 changed files with 38 additions and 10 deletions

View File

@@ -48,8 +48,16 @@
title={item.text}
expandIcon={item.type == 'dir' ? plusExpandIcon(isExpanded) : 'icon invisible-box'}
on:expand={() => {
isExpanded = !isExpanded;
if (item.type == 'dir') {
isExpanded = !isExpanded;
}
}}
on:click={() => {
if (item.type == 'dir') {
isExpanded = !isExpanded;
}
}}
extInfo={item.count ? `(${item.count})` : null}
{indentLevel}
/>
<!-- <div on:click={() => (isExpanded = !isExpanded)}>