Skip to content

Commit 0a33457

Browse files
committed
fix: show-trash-icon-on-selected
1 parent 9069e31 commit 0a33457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/draggable-list/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function DraggableList({
9898
className,
9999
)}
100100
>
101-
{items.map((item) => {
101+
{list.map((item) => {
102102
return (
103103
<ListBoxItem
104104
id={item.id}
@@ -123,7 +123,7 @@ function DraggableList({
123123
<span className="text-klerosUIComponentsPrimaryText flex-1 text-base">
124124
{item.name}
125125
</span>
126-
{isHovered && !deletionDisabled ? (
126+
{(isHovered || isSelected) && !deletionDisabled ? (
127127
<Button
128128
className={"cursor-pointer hover:scale-105"}
129129
onPress={() => {

0 commit comments

Comments
 (0)