fix: Fixes multiple selection checkbox not working when only one note is selected
This commit is contained in:
@@ -1186,7 +1186,7 @@ export class ItemListController
|
|||||||
if (userTriggered && hasShift && !isMobileScreen()) {
|
if (userTriggered && hasShift && !isMobileScreen()) {
|
||||||
await this.selectItemsRange({ selectedItem: item })
|
await this.selectItemsRange({ selectedItem: item })
|
||||||
} else if (userTriggered && this.isMultipleSelectionMode) {
|
} else if (userTriggered && this.isMultipleSelectionMode) {
|
||||||
if (this.selectedUuids.has(uuid) && hasMoreThanOneSelected) {
|
if (this.selectedUuids.has(uuid)) {
|
||||||
this.removeSelectedItem(uuid)
|
this.removeSelectedItem(uuid)
|
||||||
} else if (isAuthorizedForAccess) {
|
} else if (isAuthorizedForAccess) {
|
||||||
this.selectedUuids.add(uuid)
|
this.selectedUuids.add(uuid)
|
||||||
|
|||||||
Reference in New Issue
Block a user