Skip to content

Commit

Permalink
πŸ› Fix selecting all document in document uploader
Browse files Browse the repository at this point in the history
Click fires before the value is changed, which leads to weird behaviour
  • Loading branch information
pajowu committed Oct 9, 2024
1 parent 473f913 commit 9f9e612
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<input
v-model="selectAll"
type="checkbox"
@click="clickSelectAll" />
@change="clickSelectAll" />
</div>
<div class="col-auto ms-auto">
<button
Expand Down Expand Up @@ -400,7 +400,7 @@ export default {
},
clickSelectAll() {
this.pdfDocuments.forEach((d) => {
d.selected = !this.selectAll
d.selected = this.selectAll
})
},
approveSelected() {
Expand Down

0 comments on commit 9f9e612

Please sign in to comment.