Commit af6c9522 authored by Joel's avatar Joel

fix: no id hide op

parent b7b3084c
......@@ -95,6 +95,7 @@ const List: FC<IListProps> = ({
<span>{item.name}</span>
</div>
{item.id !== '-1' && (
<div className={cn(s.opBtn, 'shrink-0')} onClick={e => e.stopPropagation()}>
<ItemOperation
isPinned={isPinned}
......@@ -103,6 +104,7 @@ const List: FC<IListProps> = ({
onDelete={() => onDelete(item.id)}
/>
</div>
)}
</div>
)
})}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment