mirror of
https://github.com/axllent/mailpit.git
synced 2024-12-30 23:17:59 +02:00
Fix count of selected messages
This commit is contained in:
parent
5d6aa7c48a
commit
2bc2660ad5
@ -433,13 +433,17 @@ export default {
|
||||
|
||||
for (let d of this.items) {
|
||||
if (selecting) {
|
||||
this.selected.push(d.ID);
|
||||
if (!this.isSelected(d.ID)) {
|
||||
this.selected.push(d.ID);
|
||||
}
|
||||
if (d.ID == lastSelected || d.ID == id) {
|
||||
// reached backwards select
|
||||
break;
|
||||
}
|
||||
} else if (d.ID == id || d.ID == lastSelected) {
|
||||
this.selected.push(d.ID);
|
||||
if (!this.isSelected(d.ID)) {
|
||||
this.selected.push(d.ID);
|
||||
}
|
||||
selecting = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user