Skip to content

Commit 3902c59

Browse files
committed
fix: Unselecting a k-item
1 parent 8a9168d commit 3902c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panel/src/components/Collection/Items.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default {
205205
const index = this.findSelectedIndex(item);
206206
207207
if (index !== -1) {
208-
return this.selected.toSpliced(index, 1);
208+
return this.$emit("select", this.selected.toSpliced(index, 1));
209209
}
210210
211211
return this.$emit("select", [...this.selected, item._id ?? item.id]);

0 commit comments

Comments
 (0)