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
merge-requests/154/head
Eliot Berriot 2018-03-18 17:51:30 +00:00
commit 65d876d95b
3 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1 @@
Fixed synchronized start/stop radio buttons for all custom radios (#103)

Wyświetl plik

@ -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>

Wyświetl plik

@ -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
}
}
}