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 funkwhale/funkwhale!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>
<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>
......
......@@ -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
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment