fix: hide add button when on player page
This commit is contained in:
@@ -18,7 +18,7 @@ function Header (state, dispatch) {
|
||||
}, 'chevron_right')
|
||||
]),
|
||||
(function () {
|
||||
if (state.url !== '/player') {
|
||||
if (state.view.url !== '/player') {
|
||||
return h('.nav.right', [
|
||||
h('i.icon.add', {
|
||||
onclick: onAddTorrent
|
||||
|
||||
Reference in New Issue
Block a user