move more state into state.view
This commit is contained in:
@@ -42,7 +42,7 @@ function TorrentList (state, dispatch) {
|
||||
}
|
||||
})(),
|
||||
(function () {
|
||||
if (state.view.airplay) {
|
||||
if (state.view.devices.airplay) {
|
||||
return h('i.btn.icon.airplay', {
|
||||
className: !torrent.ready ? 'disabled' : '',
|
||||
onclick: openAirplay
|
||||
|
||||
Reference in New Issue
Block a user