Add location.url() shorthand
location.url() === location.current().url
This commit is contained in:
@@ -37,7 +37,7 @@ function Header (state) {
|
||||
}
|
||||
|
||||
function getAddButton () {
|
||||
if (state.location.current().url !== 'player') {
|
||||
if (state.location.url() !== 'player') {
|
||||
return hx`
|
||||
<i
|
||||
class='icon add'
|
||||
|
||||
Reference in New Issue
Block a user