From 5db8c950cc6c1ebcbc5cda86069dac9651a97f26 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Wed, 7 Mar 2018 23:19:25 +0100 Subject: [PATCH] Fix #103: synchronized start/stop radio buttons for all custom radios --- changes/changelog.d/103.bugfix | 1 + front/src/components/radios/Button.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/changelog.d/103.bugfix diff --git a/changes/changelog.d/103.bugfix b/changes/changelog.d/103.bugfix new file mode 100644 index 000000000..59b83abde --- /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/radios/Button.vue b/front/src/components/radios/Button.vue index 819aa8651..0869313a8 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 } } }