Explorar o código

fix(AdvancedTable): Initial CTRL+click of checkbox does not deselect row

Owen Diffey %!s(int64=3) %!d(string=hai) anos
pai
achega
bcb4d22229
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontend/src/components/AdvancedTable.vue

+ 1 - 1
frontend/src/components/AdvancedTable.vue

@@ -1472,7 +1472,7 @@ export default {
 				// If there is a last clicked item
 				if (this.lastSelectedItemIndex >= 0) {
 					// Clicked item is lower than last item, so unselect upwards until it reaches the last selected item
-					if (itemIndex > this.lastSelectedItemIndex) {
+					if (itemIndex >= this.lastSelectedItemIndex) {
 						for (
 							let itemIndexUp = itemIndex;
 							itemIndexUp >= this.lastSelectedItemIndex;