Skip to content
Snippets Groups Projects
Commit 65d876d9 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '103-radio-button' into 'develop'

Resolve "Start/stop radio buttons all enabled for user radios"

Closes #103

See merge request !95
parents 019354e6 5db8c950
No related branches found
No related tags found
No related merge requests found
Fixed synchronized start/stop radio buttons for all custom radios (#103)
<template> <template>
<div class="ui pagination borderless menu"> <div class="ui pagination borderless menu">
<a <a
v-if="current - 1 >= 1"
@click="selectPage(current - 1)" @click="selectPage(current - 1)"
:class="[{'disabled': current - 1 < 1}, 'item']"><i class="angle left icon"></i></a> :class="[{'disabled': current - 1 < 1}, 'item']"><i class="angle left icon"></i></a>
<template> <template>
...@@ -16,6 +17,7 @@ ...@@ -16,6 +17,7 @@
</a> </a>
</template> </template>
<a <a
v-if="current + 1 <= maxPage"
@click="selectPage(current + 1)" @click="selectPage(current + 1)"
:class="[{'disabled': current + 1 > maxPage}, 'item']"><i class="angle right icon"></i></a> :class="[{'disabled': current + 1 > maxPage}, 'item']"><i class="angle right icon"></i></a>
</div> </div>
......
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
if (!state.running) { if (!state.running) {
return false return false
} else { } else {
return current.type === this.type & current.objectId === this.objectId return current.type === this.type && current.objectId === this.objectId && current.customRadioId === this.customRadioId
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment