diff --git a/changes/changelog.d/683.bugfix b/changes/changelog.d/683.bugfix new file mode 100644 index 000000000..18cc3a7ae --- /dev/null +++ b/changes/changelog.d/683.bugfix @@ -0,0 +1 @@ +Fixed wrong number of affected elements in bulk action modal (#683) diff --git a/front/src/components/common/ActionTable.vue b/front/src/components/common/ActionTable.vue index d6d19076c..5fcaceaac 100644 --- a/front/src/components/common/ActionTable.vue +++ b/front/src/components/common/ActionTable.vue @@ -36,8 +36,8 @@

Do you want to launch %{ action } on %{ count } element? @@ -271,6 +271,12 @@ export default { return { refresh: this.$gettext('Refresh table content') } + }, + affectedObjectsCount () { + if (this.selectAll) { + return this.objectsData.count + } + return this.checked.length } }, watch: {