diff --git a/changes/changelog.d/103.bugfix b/changes/changelog.d/103.bugfix new file mode 100644 index 0000000000000000000000000000000000000000..59b83abde7bd808b3c030ba5056a4efbf723eeb6 --- /dev/null +++ b/changes/changelog.d/103.bugfix @@ -0,0 +1 @@ +Fixed synchronized start/stop radio buttons for all custom radios (#103) diff --git a/front/src/components/Pagination.vue b/front/src/components/Pagination.vue index 71813a18a400ec2c712d19889d8e1a2a4372d414..57ae4235dfe70c50854bc6d2bbbb44edb4b40ffb 100644 --- a/front/src/components/Pagination.vue +++ b/front/src/components/Pagination.vue @@ -1,6 +1,7 @@ <template> <div class="ui pagination borderless menu"> <a + v-if="current - 1 >= 1" @click="selectPage(current - 1)" :class="[{'disabled': current - 1 < 1}, 'item']"><i class="angle left icon"></i></a> <template> @@ -16,6 +17,7 @@ </a> </template> <a + v-if="current + 1 <= maxPage" @click="selectPage(current + 1)" :class="[{'disabled': current + 1 > maxPage}, 'item']"><i class="angle right icon"></i></a> </div> diff --git a/front/src/components/radios/Button.vue b/front/src/components/radios/Button.vue index 819aa8651f3509827b0460c54c9cec9ded18d23b..0869313a875eb153812a5b9fce0cf1ea1a932d81 100644 --- a/front/src/components/radios/Button.vue +++ b/front/src/components/radios/Button.vue @@ -31,7 +31,7 @@ export default { if (!state.running) { return false } else { - return current.type === this.type & current.objectId === this.objectId + return current.type === this.type && current.objectId === this.objectId && current.customRadioId === this.customRadioId } } }