Skip to content

Commit

Permalink
fix(b-table): fix range selection of b-table (#6606)
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>
Co-authored-by: Illya Klymov <xanf@xanf.me>
  • Loading branch information
3 people committed Dec 18, 2021
1 parent 12985a4 commit c11f0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/table/helpers/mixin-selectable.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export const selectableMixin = Vue.extend({
selectedRows = []
selected = true
}
this.selectedLastRow = selected ? index : -1
if (selected) this.selectedLastRow = index
}
}
selectedRows[index] = selected
Expand Down

0 comments on commit c11f0db

Please sign in to comment.