We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1acc84c commit ec3b42aCopy full SHA for ec3b42a
src/components/NotificationItem.vue
@@ -30,10 +30,10 @@ function isInteractedCheckbox(e: MouseEvent | KeyboardEvent) {
30
}
31
32
function handleThreadClick(thread: Thread, event: MouseEvent | KeyboardEvent) {
33
- if (!props.checkable || (event instanceof KeyboardEvent && event.repeat))
+ if ((event instanceof KeyboardEvent && event.repeat))
34
return
35
36
- if ((event.ctrlKey || event.metaKey) || isInteractedCheckbox(event)) {
+ if (props.checkable && ((event.ctrlKey || event.metaKey) || isInteractedCheckbox(event))) {
37
emit('update:checked', !props.checked)
38
39
0 commit comments